NOYB ad6e76b989 HTML Compliance - "navigation" "role" on Element <nav>
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.
2018-01-23 07:43:18 +01:00
..
2017-08-04 10:27:42 +02:00
2018-01-10 08:56:32 +01:00