WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Landmarks

for

From: glen walker
Date: Jan 14, 2020 3:34PM


I've never heard a landmark read twice just because you have a redundant
role on the html element. Note that the official HTML specs say to *not*
set the role if you want the default. For example,
https://www.w3.org/TR/html53/grouping-content.html#the-main-element.

"Allowed ARIA role attribute values: main role (default - do not set). "

As far as landmarks not showing up in NVDA's landmarks dialog, that can
happen for region landmarks if the landmark does not have an aria-label.

Side note on aria-label support,
https://www.w3.org/TR/using-aria/#label-support. The second bullet point
says that aria-label isn't well supported on region landmarks (<section>
elements) but I haven't experienced that.