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

apache - setting document root in antoher partition on ubuntu -

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

Process 'command 'F:\android-sdk\build-tools\21.1.2\aapt.exe'' finished with non-zero exit value 1 -