Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nav bar "The aria-controls attribute..." W3 shows invalid code #64

Open
MeegB opened this issue Jun 10, 2020 · 1 comment
Open

Nav bar "The aria-controls attribute..." W3 shows invalid code #64

MeegB opened this issue Jun 10, 2020 · 1 comment

Comments

@MeegB
Copy link

MeegB commented Jun 10, 2020

Hi, W3 validator showing error on

<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navigation" aria-controls="navigation-index" aria-expanded="false" aria-label="Toggle navigation">
The aria-controls attribute must point to an element in the same document.

Is there a way around this?

2020-06-10_15h50_57

@dragosct
Copy link
Member

Hi, @MeegB! Thanks for using our products. This code is from the Bootstrap official website, so this is their syntax code.

Regards,
Dragos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants