WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: is it necessary to add aria markup to label a section element


From: Birkir R. Gunnarsson
Date: Aug 26, 2017 6:42AM

The <section> element maps to the ARIA region role.
The ARIA 1.1 spec entry for the region role
says that accessible name is required.

That is the W3C specification answer.
From a paactical perppective, yes, it's also good to name webpage
regions (as long as there are not too many).
If you don't do it, it is not the end of the world for the user,
especially since you also have headings.

On 8/25/17, Patterson, Christina < <EMAIL REMOVED> > wrote:
> We have a site that uses the html5 section elements. Each section element
> has a child element within it that is a heading (h1-h6), along with other
> content. We’re having a discussion regarding whether it is necessary to name
> the section elements using aria attributes (aria-label or aria-labelledby)
> or if heading elements within the sections satisfy WCAG 2.0 SC 1.3.1 without
> adding the aria labels. Should missing those aria labels on a section with
> child heading elements be considered a failure of 1.3.1?
> Chris Patterson
> > > > >

Work hard. Have fun. Make history.