You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hey Bruce - regarding the 'main' element... according to the W3C ARIA Landmarks Example site can use multiple 'main' elements if they have unique labels (see HTML Techniques tab). Is that incorrect then? https://www.w3.org/TR/wai-aria-practices/examples/landmarks/main.html
(I personally wouldn't ever use more than 1 main element on a page but curious to know...)
@coliff Hmmm - never seen that doc. That's about role=main on a div. I'm looking at the html element. Spec currently says "A document must not have more than one main element that does not have the hidden attribute specified" (https://html.spec.whatwg.org/multipage/grouping-content.html#the-main-element). I wonder if I'm clever enough to come up with a CSS selector to find that...
brucelawson
pushed a commit
to brucelawson/REVENGE.CSS
that referenced
this issue
Nov 27, 2019
.. pretty sure this is obsolete in today's browsers? (Ditto contentinfo etc). Happy to make a PR ..
(and perhaps show a message on any main that is not the only/ first main on a page, because 8.06% of pages erroneously contain more than one main landmark (https://almanac.httparchive.org/en/2019/accessibility#main-landmark)
The text was updated successfully, but these errors were encountered: