WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Group items with tabindex that have focusable children.

for

From: Birkir R. Gunnarsson
Date: Jul 20, 2016 8:40PM


Using the ARIA group role whose accessible name is the legend text for
the group a valid technique and is fairly well supported by screen
readers.
Of course, when native HTML can be used for the task, we should have
durn good reasons why it isn't used.
I wrote an article about the group role that can be found here:
http://a11yideas.com/testcode/makeGroupAccessible.html
Note, NVDA does not announce the legend of a fieldset, or accessible
name for a group, unless it goes into forms mode, something that it
does not do for checkboxes.
This is an NVDA defect and the ticket for it has existed for awhile
https://github.com/nvaccess/nvda/issues/3321
There really is little the author can do to fix this, sort of major
hacks like using aria-describedby to associate the legend text with
the first checkbox, and I hope this gets addressed soon.
-Birkir


On 7/20/16, Bossley, Pete < <EMAIL REMOVED> > wrote:
> Why not use a fieldset of checkboxes as answers an the legend of the
> fieldset be the question?
>
> -----Original Message-----
> From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On Behalf
> Of Jonathan Cohn
> Sent: Wednesday, July 20, 2016 8:31 PM
> To: <EMAIL REMOVED>
> Subject: [WebAIM] Group items with tabindex that have focusable children.
>
> Hello,
>
> My group has a standard procedure a div containing a set of check boxes and
> assigning a role="group" too this div.
>
> This seems to work OK with some browser combinations and screen readers in
> that it reads the question and list of answers and then one can tab through
> the answers. But this feels wrong to me.
>
> Does this violate a specific principle or policy?
> Thanks,
>
> Jonathan
>
> > > http://webaim.org/discussion/archives
> > > > > >


--
Work hard. Have fun. Make history.