Inserter a11y improvements #525
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).
See #515
The inserter toggle button and menu should use some ARIA roles, states, and properties to improve both the feedback for users and the actual interaction. For example:
aria-haspopup
aria-expanded
role="menu"
androle="menuitem"
, this is not just for better semantics but also because we need to stop screen readers from intercepting keypresses, otherwise arrow navigation won't work (see Add arrow key navigation to the inserter window. #515)I've played a bit with this, will do a PR soon.
The text was updated successfully, but these errors were encountered: