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 -

apache - setting document root in antoher partition on ubuntu -

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