WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: Regarding a dialog box

for

Number of posts in this thread: 4 (In chronological order)

From: Surendra
Date: Thu, Feb 16 2017 4:09AM
Subject: Regarding a dialog box
No previous message | Next message →

Hi all,



Greetings from India!



I just encountered a dialog box having 3 buttons along with some information
in plain text wherein JAWS says only 'Dialog' as it is launched. For me,
this is a bug, as it does not automatically read out the main information in
this dialog box; however, I can easily navigate through the same using Arrow
keys. But according to my observation, an accessible dialog box is
automatically read in full by JAWS. Reading only 'Dialog' does not make any
sense. What do you think? Should this be a bug? At least a miner bug?

From: Bryan Garaventa
Date: Thu, Feb 16 2017 5:07AM
Subject: Re: Regarding a dialog box
← Previous message | Next message →

Hi,
Does the element with role=dialog also include aria-label or aria-labelledby plus aria-describedby, and is focus moved inside of the dialog container when rendered?

All of these are required to set the Name of the dialog plus the Description, and focusing into the dialog should cause these to be announced.

These attributes are mapped out here for reference:
http://whatsock.com/training/matrices/#dialog

All the best,
Bryan


Bryan Garaventa
Accessibility Fellow
SSB BART Group, Inc.
= EMAIL ADDRESS REMOVED =
415.624.2709 (o)
www.SSBBartGroup.com

-----Original Message-----
From: WebAIM-Forum [mailto: = EMAIL ADDRESS REMOVED = ] On Behalf Of Surendra
Sent: Thursday, February 16, 2017 3:09 AM
To: 'WebAIM Discussion List' < = EMAIL ADDRESS REMOVED = >
Subject: [WebAIM] Regarding a dialog box

Hi all,



Greetings from India!



I just encountered a dialog box having 3 buttons along with some information in plain text wherein JAWS says only 'Dialog' as it is launched. For me, this is a bug, as it does not automatically read out the main information in this dialog box; however, I can easily navigate through the same using Arrow keys. But according to my observation, an accessible dialog box is automatically read in full by JAWS. Reading only 'Dialog' does not make any sense. What do you think? Should this be a bug? At least a miner bug?

From: Surendra
Date: Thu, Feb 16 2017 5:55AM
Subject: Re: Regarding a dialog box
← Previous message | Next message →

Hi Bryan,

Thanks for the link!

By going through the link, I understood that there is neither a name nor the description for dialog, and Focus is perfectly set to it. As far as ARIA tags for the same is concerned, I've been learning of it gradually since the day I joined this forum; therefore, I can't comment on these confidently. All I know that JAWS does not read out the complete information in it automatically. I wanted it to be reported as a miner bug actually.

-----Original Message

-----
From: WebAIM-Forum [mailto: = EMAIL ADDRESS REMOVED = ] On Behalf Of Bryan Garaventa
Sent: Thursday, February 16, 2017 5:38 PM
To: WebAIM Discussion List
Subject: Re: [WebAIM] Regarding a dialog box

Hi,
Does the element with role=dialog also include aria-label or aria-labelledby plus aria-describedby, and is focus moved inside of the dialog container when rendered?

All of these are required to set the Name of the dialog plus the Description, and focusing into the dialog should cause these to be announced.

These attributes are mapped out here for reference:
http://whatsock.com/training/matrices/#dialog

All the best,
Bryan


Bryan Garaventa
Accessibility Fellow
SSB BART Group, Inc.
= EMAIL ADDRESS REMOVED =
415.624.2709 (o)
www.SSBBartGroup.com

-----Original Message-----
From: WebAIM-Forum [mailto: = EMAIL ADDRESS REMOVED = ] On Behalf Of Surendra
Sent: Thursday, February 16, 2017 3:09 AM
To: 'WebAIM Discussion List' < = EMAIL ADDRESS REMOVED = >
Subject: [WebAIM] Regarding a dialog box

Hi all,



Greetings from India!



I just encountered a dialog box having 3 buttons along with some information in plain text wherein JAWS says only 'Dialog' as it is launched. For me, this is a bug, as it does not automatically read out the main information in this dialog box; however, I can easily navigate through the same using Arrow keys. But according to my observation, an accessible dialog box is automatically read in full by JAWS. Reading only 'Dialog' does not make any sense. What do you think? Should this be a bug? At least a miner bug?

From: Guy Hickling
Date: Sun, Feb 19 2017 7:28AM
Subject: Re: Regarding a dialog box
← Previous message | No next message


Surendra,
You are correct, the absence of any label at all should be treated as a
defect. Though not serious since the user can use the arrows to hear the
content, it does leave screen and Braille reader users a little mystified
initially! Inexperienced users might not even realise what is going on.

The standard for dialogs is provided by the WAI-ARIA Authoring Practices
1.1 document at https://www.w3.org/TR/wai-aria-practices-1.1/#dialog_modal.
It says (as did Bryan just now in this thread), a modal dialog should have
either an aria-labelledby (pointing to the heading at the top of the
dialog, if any), or an aria-label attribute instead (perhaps if a displayed
heading is absent or not informative).

It then goes on to say that additionally the author "can" add an
aria-describedby, saying "The aria-describedby property can be set...." I
take this use of the word "can" to mean it is optional.

For instance if a dialog had just a very short content, then that would
certainly be best announced immediately. (Or, the above document says, the
aria-describedby could just pick out a sentance or paragraph that
summarises the message of the dialog.) But I've seen some companies put
their entire Terms and Conditions into a popup dialog box and include it in
the aria-describedby. Only the brave or the foolhardy would want them
announced all in one go!

Regards,
Guy Hickling