Have a CMS with nav dropdowns in CMS navigation menu.
Verify values of dropdown's link id and menu aria-labelledby:
are unique
match per dropdown
Verify values of dropdown's menu id and link aria-controls:
are unique
match per dropdown
Verify Accessibility details are accurate.
Notes
I followed MDN: Accessibility: "menu_role", except I did not use aria-label, because (A) there are already <span class="sr-only"> tags that serve the same purpose, and (B) I did not want to further increase scope of the ticket beyond "fixing ID".
Overview
Use unique IDs for nav dropdowns.
Related
Changes
id
and menuaria-labelledby
valuesid
aria-controls
Testing
id
and menuaria-labelledby
:id
and linkaria-controls
:Notes
I followed MDN: Accessibility: "menu_role", except I did not use
aria-label
, because (A) there are already<span class="sr-only">
tags that serve the same purpose, and (B) I did not want to further increase scope of the ticket beyond "fixing ID".UI