Components: increase the helpText.fontSize #69467
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
Needs Design Feedback
Needs general design feedback.
[Package] Components
/packages/components
[Type] Bug
An existing feature does not function as intended
Description
Splitting this out from #69451 (comment)
In #69451 the Visibility panel in the pre-publish checks has been refactored and now uses
RadioControl
which uses a 12 pixels font size for the help text.gutenberg/packages/components/src/utils/font-values.js
Line 6 in 997934d
The previous font size was 13 pixels. As such, the help text is now smaller and it's actually a reduced legibility level.
Overall, I'd think there should't be any text in the editor that uses a font size smaller than 13 pixels.
12 pixels is really too small in 2025. I'd even consider to raise any minimum font size to at least 14 pixels but for now 13px would be a good start.
Of course, I do understand the help text must have, in a way, slightly less prominence. However, typography hierarchy doesn't necessarily need to use the font size. It can be provided by color, spacing, white space and the like.
CC @WordPress/gutenberg-components and @WordPress/gutenberg-design
Step-by-step reproduction instructions
N/A
Screenshot to illustrate an example of help text with a 12 pixels font size (on the right) compared with the previous 13 pixels font size (on the left). Please ignore the different alignments / spacings and only focus on the help text font size.
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
The text was updated successfully, but these errors were encountered: