Skip to content

Menu: aria-disabled menu items should still be keyboard focusable #157

@ianmcburnie

Description

@ianmcburnie

Every menuitem in a menu is focusable, whether or not it is disabled. Indicate a menuitem is disabled by setting aria-disabled="true" on the element with the role.

Source: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/menuitem_role

Oops, got this wrong. And I remember it being a bit of a pain to re-factor for this in the first place. Oh well!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions