Improve the new block inserter "Tips" semantics #22863
Labels
[Feature] Inserter
The main way to insert blocks using the + button in the editing interface
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
Describe the bug
In the new block inserter, some "tips" are displayed at the bottom of the inserter:
The tips text is just text within a paragraph element. There's nothing to explain to non-sighted users what this text actually is.
For example, screen reader users navigating the inserter content will find at some point some text that says:
"Change a block's type by pressing the block icon on the toolbar."
At the very least, this text should have other text befor it to explain what it is. Preferably a (visually hidden) heading. See also #22859 for the importance of headings.
Also: related to the tips content: for non sighted users it doesn't make much sense and I'd say it's also slightly unfair to refer to a "block icon" to press, as they can't see what icon this message refers to
Any instruction on usage needs to avoid references to visual aspect, position, etc. as they're things non-sighted users can't perceive. For this reason, I'd like to recommend also to review all the messages used as tips and refactor them in a way that they can be understood by everyone.
To reproduce
Expected behavior
The tips to be preceeded by a heading, as any relevant content section should be identified by a heading.
Editor version (please complete the following information):
The text was updated successfully, but these errors were encountered: