I don’t think that I can link to our testing site as it’s a paid account. Could you tell me how to change the role=”navigation” to role=”menu” using javascript? After doing some research, it looks like the reason I may be getting this error is because the syntax of <nav role=”navigation”> is redundant, and it would be better to have it as <nav role=”menu”> because it contains “menuitems” within it.
Please advise, thank you!
I see that the code you mentioned is in the backend of my website. The problem is, when I am running an accessibility scan of the site that code does not seem to be doing anything to actually add in the role=”menu” to the main nav of the website, causing us to fail our test.
Please advise on how to either overwrite the menu code so that we can place role=”menu” on the <nav role=”navigation”> element or please let us know why the code you have provided is not working for our site.