WebAIM - Web Accessibility In Mind

E-mail List Archives

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

for

Number of posts in this thread: 2 (In chronological order)

From: Patterson, Christina
Date: Fri, Aug 25 2017 3:52PM
Subject: is it necessary to add aria markup to label a section element
No previous message | Next message →

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
UCLA

From: Birkir R. Gunnarsson
Date: Sat, Aug 26 2017 6:42AM
Subject: Re: is it necessary to add aria markup to label a section element
← Previous message | No next message

The <section> element maps to the ARIA region role.
The ARIA 1.1 spec entry for the region role
http://www.w3.org/TR/wai-aria-1.1/#region
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 ADDRESS 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
> UCLA
>
> > > > >


--
Work hard. Have fun. Make history.