ng-material-multilevel-menu
ng-material-multilevel-menu copied to clipboard
Accessibility
The use of an <a>
tag without an href attribute does not allow for a user to focus on the expandable item in the list.
Suggestion:
Use a different element, preferably a <button>
tag. This allows for a user to focus on the element and hit the enter key to open and close the submenu.
Alternative:
Use a hash as the href
value. Allows for focus, but the native hash change event will need to be captured and ignored.
Hi @acodesmith It's really a very good suggestion. Would love to work on it in the near future if I will get time.
Thanks