Font Library: Unlabelled back button within the Fonts modal dialog #58060
Labels
[Feature] Font Library
[Feature] Typography
Font and typography-related issues and PRs
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
The 'back' button within the Fonts modal dialog is completely unlabelled.
As such, this button has no accessible name and it is not accessible. One more case of an unlabeled control Cc @ciampo
Honetlym I'm surprised that after 7 years of histoyr of this project, contributors still struggle to understand such basic requirements as providing appropriate labeling for user interface controls. This code has been developed, reviewed, and merged with no attention to basic HTML semantics and accessibility requirements.
gutenberg/packages/edit-site/src/components/global-styles/font-library-modal/tab-panel-layout.js
Lines 29 to 34 in 7b2350a
Looking at the code, it is evident there's no labeling. I'm nor sure I understand how such a code can pass a review and be merged. Not to mention the Button componetn is open to misues, as mentioned in other issues.
Screenshot
Remediation:
:
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: