Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #62181


Ignore:
Timestamp:
10/07/2024 04:54:58 AM (2 years ago)
Author:
sabernhardt
Comment:

Hi and thanks for the report!

The font-weight of 600 was added for strong and b elements in [26072], when the font was Open Sans.

Also, CSS Coding Standards instruct to use numeric values for font weight.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #62181

    • Property Component Text ChangesAdministration
    • Property Focuses css added
    • Property Version 6.6.23.8
  • Ticket #62181 – Description

    initial v1  
    1 I've noticed that the wordpress admin has a fixed weight of 600 for b and strong tags. If I have a heading that has a bold appearance and then bold some text in the heading it doesn't become visible because all the text is set to 600.
     1I've noticed that the WordPress admin has a fixed weight of `600` for `b` and `strong` tags. If I have a heading that has a bold appearance and then bold some text in the heading it doesn't become visible because all the text is set to `600`.
    22
    3 A simple solution would be to change the strong,b{font-weight:600;} in common.css to strong,b{font-weight:stronger;} and let the browser choose the bolder weight.
     3A simple solution would be to change the `strong,b{font-weight:600;}` in `common.css` to `strong,b{font-weight:stronger;}` and let the browser choose the bolder weight.
    44
    5 I can create a patch for this, but I wanted to check if there is a reason why there is a fixed weight of 600. Does anyone know why?
     5I can create a patch for this, but I wanted to check if there is a reason why there is a fixed weight of `600`. Does anyone know why?