mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 17:14:46 +00:00
Warning: The navigation role is unnecessary for element nav. HTML 5.1 2nd Edition W3C Recommendation 3 October 2017 4.3.4. The nav element http://www.w3.org/TR/html51/sections.html#the-nav-element Allowed ARIA role attribute values: ‘navigation’ role (default - do not set) or ‘presentation’. http://www.w3.org/TR/html51/dom.html#do-not-set Note: In the majority of cases setting an ARIA role and/or aria-* attribute that matches the default implicit ARIA semantics is unnecessary and not recommended as these properties are already set by the browser. In the December 2017 document "is unnecessary and not recommended" is bold emphasized. HTML 5.2 W3C Recommendation, 14 December 2017 http://www.w3.org/TR/html5/dom.html#aria-authoring-requirements According to HTML5 Accessibility dot com, Chrome, Edge, and Safari have full support for the <nav> element. Firefox lacks only "Name/Description". Given the state of IE in this regard it is difficult to understand why anyone using it with assistive/accessibility technology at this point. http://html5accessibility.com/ Markup like <nav role="navigation"> and <button role="button"> is superfluous since the HTML elements themselves already explain their role.