Problem/Motivation
HTML validation of a page with the navbar toggler generates the following error:
The
aria-controlsattribute referencesnavbar-collapse, which is not the ID of any element in this document.
The value of every aria-controls attribute needs to be the ID of an element somewhere on the page.
Proposed resolution
Add the missing id attribute.
Remaining tasks
Implement.
User interface changes
Assistive technologies will work better.
API changes
None.
Data model changes
None.
Issue fork radix-3572059
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
liam morlandComment #6
doxigo commentedThanks again Liam, merged.