Accessibility and functionality issue with menu #25
Labels
bug
Something isn't working
help wanted
Extra attention is needed
NVDA
NVDA specific issues
screenreader
Describe the bug
Menus seem to function correctly. However, if you try to use the left or right arrows they seem to break unless you are expanding a sub-menu. Screen readers also only announce the amount of items for the section of the menu you are in e.g. if you have a menu with 5 items but a separator after the second item it would seem to a screen reader user that there is only 2 items. This is good but it should be clear that there are more items in the menu.
When you have a sub-menu expanded and press escape which I expected to close the sub-menu it also seems to break the menu but you are still focus trapped unless you press escape again. It is also not clear when there is a sub-menu. Perhaps it should say collapsed to indicate to screen readers that they can expand it.
It would also be nice if you could give each menu section as in the parts of a menu between separators labels.
To Reproduce
Steps to reproduce the behavior:
Go to https://backers.webawesome.com/docs/components/menu
Navigate to one of the menu components while using a screen reader
Focus the menu and try to navigate and you will hear item 1 of 2 or 2 of 2 which does not indicate that there are more after the separator.
Try to find a sub-menu by navigating through the menu using the up or down arrow. There is no distinction for screen readers.
Expand the sub-menu by using enter or the right arrow.
Note that there is no distinction between the menu and sub menu.
press escape and the sub-menu closes but the menu and page loos focus.
Re-focus the menu and now try to navigate using the left or right arrows. Again you are focus trapped in a seemingly empty space.
Browser / OS
The text was updated successfully, but these errors were encountered: