Problem/Motivation

HTML validation of a page with the navbar toggler generates the following error:

The aria-controls attribute references navbar-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

Command icon 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

liam morland created an issue. See original summary.

liam morland’s picture

Status: Active » Needs review

doxigo made their first commit to this issue’s fork.

doxigo’s picture

Status: Needs review » Fixed

Thanks again Liam, merged.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.