WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: IE 11 Bug? Work around?

for

From: Léonie Watson
Date: Mar 15, 2016 3:29PM


> From: WebAIM-Forum On Behalf Of Moore,Michael (Accessibility) (HHSC)
> Sent: 15 March 2016 16:58
> In FireFox and Chrome JAWS and NVDA report the correct status of the
> checkbox but in IE11 the status of disabled checkboxes is always reported as
> not checked by the screen readers.
>

When the disabled attribute is applied, MSAA in IE no longer communicates the checked state of the <input>. The checkbox is shown as "unavailable" in the accessibility tree. The checked state of the <input> is communicated in Firefox however, and presumably Chrome (although I haven't checked).

The curious thing is that if you remove the aria-labelledby attribute from the <input>, it solves the problem for Jaws, although not for NVDA. My best guess is that the ARIA triggers some workaround in Jaws, wheras NVDA tends not to work around the accessibility APIs.

Replacing aria-labelledby with aria-label, or by associating the <label> and <input> in the HTML itself will also solve the problem for Jaws (although it's more difficult to associate both pieces of content with the checkbox). Nothing I've been able to come up with solves the problem for NVDA unfortunately, so Birkir's workaround might be the thing.

Léonie.

--
@LeonieWatson tink.uk Carpe diem.