-
Notifications
You must be signed in to change notification settings - Fork 4.8k
The format list should be an ARIA menu and other a11y improvements #1879
Copy link
Copy link
Closed
Labels
[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).Changes that impact accessibility and need corresponding review (e.g. markup changes).
Milestone
Description
The format list with paragraph format and headings level should work like the DropDown component:
- should use
role="menu"androle="menuitem" - should use arrows navigation
- all the items are
<span>elements: withrole="menuitem"their semantic would be OK but worth considering to use a natively interactive element (button?) to simplify the JS part - not sure why it is using
aria-hidden="true"on the items - the toggle button needs a focus style, see for example the style used on the similar block switcher toggle button:
Todo: consider to re-use the DropdownMenu component
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).Changes that impact accessibility and need corresponding review (e.g. markup changes).
Type
Fields
Give feedbackNo fields configured for issues without a type.

