WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: JAWS aria-describedby

for

From: Birkir R. Gunnarsson
Date: Jul 16, 2019 9:08AM


You're welcome.

On 7/16/19, Miriam Fukushima < <EMAIL REMOVED> > wrote:
> It works with your example, so maybe I have to look into how the focus
> is set. I changed JAWS' signal tone for forms mode, so I can hear it
> properly and JAWS doesn't seem to change into forms mode properly. So I
> assume this is rather a problem on how focus is set in this application.
> But this is a much clearer starting point for debugging.
>
> Thank you very much for the help.
>
> KR Miriam
>
> On 16.07.2019 15:42, Birkir R. Gunnarsson wrote:
>> That should be reported as a Jaws bug.
>> It used to work.
>> <fieldset aria-describedby="foo">
>> <legend>What's your name</legend>
>> <p id="foo">First and last please</p>
>> <label>
>> <span>First name</span>
>> <input type="text">
>> </label>
>> <label>
>> <span>Last name</span>
>> <input type="text">
>> </label>
>> </fieldset>
>> When you tab into this fieldset (focus goes on "first name" Jaws
>> should read "What's your name, first and last please", first name
>> edit.
>> (maybe it would read the "first name edit" before the group label).
>> Does anything change when you add role="group" to the fieldset (or
>> role="radiogroup" if it's just radio buttons)?
>> Thanks
>>
>>
>>
>> On 7/16/19, Miriam Fukushima < <EMAIL REMOVED> > wrote:
>>> Hi,
>>>
>>>> Hi
>>>> No, you need to use the aria-describedby on the <fieldset> tag
>>>> directly, not on the <legend> tag.
>>>> Keep in mind that group labels work a bit differently in different
>>>> screen readers, the group label/aria-describedby is typically only
>>>> announced when the user enters the group (e.g. tabs into the first
>>>> control in the group), they are seldom, if ever, announced in browse
>>>> mode.
>>> I have tried that as well, but JAWS still only reads the value of the
>>> legend but not of aria-describedby.
>>>
>>> It only works when I insert an extra paragraph with the value of the
>>> legend and then give the legend an aria-labelledby with the value of the
>>> IDs of both paragraphs.
>>>
>>> But then it is a concatenated label and not split into label of the
>>> fieldset and additional information of the fieldset.
>>>
>>> KR Miriam
>>>
>>> On 16.07.2019 15:13, Birkir R. Gunnarsson wrote:
>>>> Hi
>>>> No, you need to use the aria-describedby on the <fieldset> tag
>>>> directly, not on the <legend> tag.
>>>> Keep in mind that group labels work a bit differently in different
>>>> screen readers, the group label/aria-describedby is typically only
>>>> announced when the user enters the group (e.g. tabs into the first
>>>> control in the group), they are seldom, if ever, announced in browse
>>>> mode.
>>>>
>>>>
>>>> On 7/16/19, Miriam Fukushima < <EMAIL REMOVED> > wrote:
>>>>> Hello everyone,
>>>>>
>>>>>
>>>>> has anyone come across a similar behavior of JAWS 2019?
>>>>>
>>>>> I have the following HTML markup:
>>>>>
>>>>> A fieldset with a legend, some inputs and a paragraph.
>>>>>
>>>>> The legend contains the name of the fieldset.
>>>>>
>>>>> The legend further has the attribute aria-describedby and the ID of the
>>>>> paragraph that contains additional information about the fieldset.
>>>>>
>>>>>
>>>>> JAWS does not read the value of the aria attribute in either Chrome or
>>>>> Firefox.
>>>>>
>>>>> Is aria-describedby not supposed to be used on HTML-legend-tags?
>>>>>
>>>>>
>>>>> Thanks in advance for the clarification.
>>>>>
>>>>>
>>>>> Kind regards,
>>>>>
>>>>> Miriam
>>>>>
>>>>> >>>>> >>>>> >>>>> >>>>>
>>> --
>>> Mit freundlichen Grüßen
>>>
>>> Miriam Fukushima
>>> - Online Entwicklung -
>>>
>>> ---------------------------------------------------
>>> GLAMUS
>>> Gesellschaft für moderne Kommunikation mbH
>>> Gartenstr. 24, 53229 Bonn
>>> http://www.glamus.de/ mailto: <EMAIL REMOVED>
>>> Tel: +49 228 97617-75 Fax: +49 228 97617-55
>>>
>>> HRB: Bonn 6287
>>> Geschäftsführer: Ulrich Santo - Gerhard Loosch
>>> ---------------------------------------------------
>>>
>>> >>> >>> >>> >>>
>>
> --
> Mit freundlichen Grüßen
>
> Miriam Fukushima
> - Online Entwicklung -
>
> ---------------------------------------------------
> GLAMUS
> Gesellschaft für moderne Kommunikation mbH
> Gartenstr. 24, 53229 Bonn
> http://www.glamus.de/ mailto: <EMAIL REMOVED>
> Tel: +49 228 97617-75 Fax: +49 228 97617-55
>
> HRB: Bonn 6287
> Geschäftsführer: Ulrich Santo - Gerhard Loosch
> ---------------------------------------------------
>
> > > > >


--
Work hard. Have fun. Make history.