You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Observe that the nested p-navigation__item--dropdown-toggle elements do not have aria-expanded attribution on them.
Install a screen reader
Access the above navigation bar using keyboard controls, and tab over the navigation dropdowns.
Verify that the screen reader does not report expanded/collapsed state.
Expected behavior
The navigation dropdown links report expanded/collapsed state to screen readers. Tabbing over them should report "button collapsed" or something similar. Expanding/collapsing them should also report the change to the screen reader.
Describe the bug
Navigation dropdowns do not report expanded/collapsed state.
To Reproduce
Steps to reproduce the behavior:
p-navigation__item--dropdown-toggle
elements do not havearia-expanded
attribution on them.Expected behavior
The navigation dropdown links report expanded/collapsed state to screen readers. Tabbing over them should report "button collapsed" or something similar. Expanding/collapsing them should also report the change to the screen reader.
See https://getbootstrap.com/docs/4.0/components/navbar/ for example.
Desktop (please complete the following information):
Additional context
This was noticed during work on reduced top-nav, but effects all vanilla navigation.
The text was updated successfully, but these errors were encountered: