W3C home > Mailing lists > Public > wai-xtech@w3.org > September 2012

Re: suggest deprecating alertdialog role in ARIA 1.1

From: James Craig <jcraig@apple.com>
Date: Wed, 12 Sep 2012 13:26:34 -0700
Cc: Greg Kraus <greg_kraus@ncsu.edu>, "Schnabel, Stefan" <stefan.schnabel@sap.com>, Alexander Surkov <surkov.alexander@gmail.com>, Steve Faulkner <faulkner.steve@gmail.com>, W3C WAI-XTECH <wai-xtech@w3.org>, Richard Schwerdtfeger <schwer@us.ibm.com>, Marco Zehe <marco.zehe@googlemail.com>, James Teh <jamie@nvaccess.org>
Message-id: <EADCF1AA-FC10-438D-B740-D0AA83CF3B14@apple.com>
To: Joshue O Connor <joshue.oconnor@cfit.ie>

On Sep 12, 2012, at 12:18 AM, Joshue O Connor <joshue.oconnor@cfit.ie> wrote:

> HI Greg,
>> Here is a sample page demonstrating it.
>> 
>> http://accessibility.oit.ncsu.edu/dev/jaws/debug/role-dialog/
> 
> Interestingly neither the role="dialog" nor the role="alertdialog" are picked up by VoiceOver.
> 
> James, is this a bug in VO?

My assumption is that it's not a bug, but it's difficult to tell because it's only a partial (potentially invalid) test case. The dialog has no label or labelledby relationship, and focus is not set in it based on some triggered user action. There is a major functional difference between the focus() method and a focus event, which that test case ignores.

Here's a better test case that pops open a labeled model dialog and focuses an element in the dialog, which is the intended use of these roles. As you can see, VoiceOver behaves correctly.

James







Received on Wednesday, 12 September 2012 20:26:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 12 September 2012 20:26:59 GMT