Skip to content

[Bug]: Bold text looks non-bold due to font-weight too small #188

Description

@apienk

Description

NOTE: Using Multiple Choice (1.16.27) within Question Set (1.21.13). Stand-alone Multiple Choice (1.16.27) is not affected.

Bold text is properly emphasized in the editor but in the activity it looks just like regular text, because font weight is set in CSS to 600 for both regular and <strong>. This is critical for questions where emphasis is important, for example in grammatical questions with some words highlighted.

Steps to reproduce

  1. Create a new Question Set.
  2. Add a Multiple Choice activity.
  3. Type some regular and bold text in the question window.
  4. Do the same in the answer window.
  5. Save the content and look at the result.
  6. Note bold text is indistinguishable from regular text.
  7. Inspect the HTML and note that <strong> tags are correctly present.
  8. Note that <strong> is set in CSS to weight 600, just as regular text.
  9. Note that changing the font weight to 900 makes bold distinguishable again.

Environment

Wordpress

LMS

Other

What browsers are you seeing the problem on?

Chrome, Firefox

What Operating System are you seeing the problem on?

Linux (Debian), Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Verified by Community Maintainer

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions