getting an Aria Error in W3C and have no idea how to fix it!

Alicia St RoseOwner & Principle Developer/DesignerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dan CraciunIT ConsultantCommented:
From the documentation:
aria-controls: Identifies the element (or elements) whose contents or presence are controlled by the current element.
Its value should be: A list of one or more ID references.

On your page, you've set "menu" as the ID of the element that is controlled by that aria. But I can't see on the page source any element with the ID "menu".


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
Thanks Dan!
It was a toggle button left over from the Underscores theme. I actually use a plugin called Responsive Menu. So I removed the toggle code.

I noticed the plugin is including this:

aria-label="Responsive Menu Button"

Will that be enough? I'm not versed in Aria at all!
Dan CraciunIT ConsultantCommented:
Enough for?
That's a label, it should not have any effect on the rendering of the page.
Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
Enough to help out the sight impaired know in regards to the responsive menu. I noticed the other code I deleted was an ID.
Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
Please close and Give DanCraciun the points!!

Thank you!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.