E-mail List Archives
Re: JAWS 18 - safe to upgrade
From: Steve Green
Date: Jun 19, 2017 10:21PM
- Next message: Jonathan Avila: "Re: JAWS 18 - safe to upgrade"
- Previous message: Jonathan Avila: "Re: Resources for CVAA"
- Next message in Thread: Jonathan Avila: "Re: JAWS 18 - safe to upgrade"
- Previous message in Thread: Jonathan C. Cohn: "Re: JAWS 18 - safe to upgrade"
- View all messages in this Thread
I am no expert on the accessible name calculation, but I can't see any reason why text in the parent elements would be appended to a form control's label given that the form control has an explicit label. The following is a trivial example that exhibits this behaviour.
<p><label for="name">Name</label>
<textarea id="name" row="2"></textarea></p>
<div aria-hidden="false">
<p>Details</p>
<p><label for="age">Age</label>
<textarea id="age" row="2" aria-label="Rank"></textarea></p>
<div>
<p><label for="height">Height</label>
<textarea id="height" row="2" aria-label="Height"></textarea></p>
When navigating down the page using the Tab key (not virtual cursor), JAWS 18 incorrectly announces the Age textarea as "Details Age" and correctly announces the Height textarea as "Height".
Curiously, the reverse happens when navigating up the page. JAWS 18 correctly announces the Age textarea as "Age" and incorrectly announces the Height textarea as "Details Height".
Can anyone explain this behaviour, or is it a JAWS bug, as I expect?
Note that the issue does not occur if the aria-hidden attribute is removed from the <div> element. The issue still occurs if the aria-hidden attribute is replaced with a tabindex attribute.
Steve
- Next message: Jonathan Avila: "Re: JAWS 18 - safe to upgrade"
- Previous message: Jonathan Avila: "Re: Resources for CVAA"
- Next message in Thread: Jonathan Avila: "Re: JAWS 18 - safe to upgrade"
- Previous message in Thread: Jonathan C. Cohn: "Re: JAWS 18 - safe to upgrade"
- View all messages in this Thread