Site logo

Archived topic

aria-controls validation error

5 replies · Started by Chad Biggs on March 7, 2016

Viewing posts 1–6 of 6

Hi Tom, I am using https://validator.w3.org/ to validate. Can you tell me why I am getting this validation error?

http://cboysweb.com/

Error: The aria-controls attribute must point to an element in the same document. From line 95, column 7; to line 95, column 85 t">↩ <button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false">↩

Thank you, -Chad

Thank you for your reply Tom. As usual, you were correct. Creating a primary menu did the trick to remove the validation error but at the same time it created another error...
Bad value https://api.w.org/ for attribute rel on element link: The string https://api.w.org/ is not a registered keyword.
</script>↩<link rel='https://api.w.org/' href='http://cboysweb.com/wp-json/' />↩<link

Do you have any idea what this is about?

-Chad

Hmm, that's not GP's doing.

It could be a WP thing, I'm not sure.

I just validated your website and it found 0 errors.

Thanks for looking Tom. I don't see the error there now either. That is weird... I wish all my issues would go away like that when I sleep. Ha. Thanks again, -Chad

Glad it's working :)

This archived topic is closed to new replies.