ui5-webcomponents
ui5-webcomponents copied to clipboard
feat(ui5-menu-item): add accessibility attributes
This PR introduces new property accessibilityAttributes in ui5-menu-item
component.
It has 2 properties that affect the accessibility attributes of the menu item:
role
- can be used to change the devault menuitem role to something different (for example menuitemcheckbox) ariaKeyShortcuts
- can be used to add aria-keyshortcuts attribute value to an item that has a shortcut key defined.
BGSOFUIBALKAN-8351 BGSOFUIBALKAN-8315