WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Dogs, cats, ARIA, and JAWS

for

From: Ben Regis
Date: Aug 10, 2017 11:13AM


Hi

Out of interest, why aren't you just using an h2 instead of the span?

Kind regards

Ben

-----Original Message-----
From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On Behalf Of R.U. Steinberg
Sent: 10 August 2017 17:47
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: [WebAIM] Dogs, cats, ARIA, and JAWS

I have a layout that consists of a group of boxes. Each box is in a div and is a link to another page with more information, but there is content in each box including a span with a role="heading" aria-level="2. I have applied an aria-label to the box. JAWS 18 with IE 11 is ignoring all the content in the box including listing the headings--it just reads the aria-label. But I am told using the arrow keys, NVDA and Voiceover pick up the heading 2s. Any advice?

I have put some code at https://jsfiddle.net/mgLtqvx2/