Bootstrap HTML Validator Warning: Element nav does not need a role attribute -


i have insert menu in index:

<nav id="mainmenu" class="navbar navbar-default" role="navigation"> 

but when try validate (in local) validator.w3 tell me:

warning: element nav not need role attribute.

i can't find solution, can me?

delete role="navigation".

the <nav> element has semantics of being navigation. don't need add them role attribute. saying "this navigation element navigation" redundant , silly.

<nav id="mainmenu" class="navbar navbar-default"> 

Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -