role=”main” on <main
-
Hiya
I think we need to ermove the role=”main” from the <main> elements because the W3 spec pages now reflects this.
This link specifies that the ‘role=”main”‘ is implicit on the <main> element and that no role should be explicitely defined.
https://www.w3.org/TR/html-aria/#document-conformance-requirements-for-use-of-aria-attributes-in-html#mainThis is the error raised by the W3 validator:
Some elements (sometimes combined with certain attributes) can not have ARIA attributes specified. See https://www.w3.org/TR/html-aria/#document-conformance-requirements-for-use-of-aria-attributes-in-html (displayed in new window).
Cheers
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘role=”main” on <main’ is closed to new replies.