Improve the sidebars and Close buttons labelling #49613
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Type] Enhancement
A suggestion for improvement.
Description
Follow-up to #49555
Some labels / names related to 'sidebars' and 'Close' buttons have room for improvements.
1
aria-label
attributes and in some tooltips. Text that is mainly provided for blind screen reader users should avoid spatial terminology such as 'sidebar': as a blind user, I wouldn't mind whether this region is visually placed on the side, top, bottom or in any other spot of the screen.That's way too long when shown in the UI. Screenshot:
2
Sometimes the 'Close' button text contains redundant context. For example:
Close List View Sidebar
. In this case, this button is within an ARIA region labelledList View
. There's no need to specify what the button is supposed to close, as the context sufficiently clarifies the button action.In other cases, where the context isn't enough, it's worth keeping some contextual info in the button text.
A shorter text is better anyways, as long as the context is clear.
3
Lastly, there's a few inconsistencies across various labels / banes worth fixing.
Step-by-step reproduction instructions
Show or hide the settings sidebar
.Show or hide the block settings sidebar
.Save sidebar
, while the button to open it is labelledOpen save panel
.Close List View Sidebar
, which is way too long. Also noticeSidebar
is title case.Close Styles sidebar
. A bit too long. Also noticesidebar
is lowercase.Navigation sidebar
.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: