Improve the Block editor warning accessibility and design #62737
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
Needs Design
Needs design efforts.
[Package] Block editor
/packages/block-editor
[Type] Bug
An existing feature does not function as intended
Description
The block editor Warning component can be improved in terms of accessibility and design.
1
When the Warning renders in the editor, it's only a visual warning. There's no
speak
message or ARIArole=alert
that would make the warning message be automatically announced by screen readers.2
The design could be improved. Screenshot:
Step-by-step reproduction instructions
I tested one of the implementation of the Warning, that is the MultipleUsageWarning component:
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: