Re: [orca-list] Firefox, orca and aria dialogs
- From: Peter Vágner <pvdeejay gmail com>
- To: Joanmarie Diggs <jdiggs igalia com>
- Cc: Nolan Darilek <nolan thewordnerd info>, orca-list <orca-list gnome org>
- Subject: Re: [orca-list] Firefox, orca and aria dialogs
- Date: Fri, 1 Dec 2017 19:16:53 +0100
Hello,
Now I have realized I need to explain this in more details with steps to reproduce.
There are several possible implementations. People tend to workaround screen vs AT issues by placing focus on the container dialog element. This is a sort of thing I'm trying to avoid.
Please load this in firefox and follow along
https://www.w3.org/TR/wai-aria-practices/examples/dialog-modal/dialog.html- Locate Add delivery address and activate it either by pressing spacebar or an enter key.
- There is no description associated with this dialog (no aria-describedby on the container element with role=dialog) and focus is placed into the entry text labelled as streed. This dialog is working fine and does not exhibit the issue I'm having.
- Keep pressing the tab key repeatedly until you land on Verify address and press the space bar to activate
- The dialog pops up and the context is reported. However this also does not exhibit my issue as the author placed focus to the container dialog element. Yes they are explaining that they are placing focus to the dialog not to first focusable element because of scrolling issues so they have a valid use case but again it's different to mine.
- Close this second dialog by pressing the esc key. You will land on the verify address button again.
- Now press the tab key to move on to the Add button and activate it with the enter key or the space bar key.
- Now things start to be interesting as this dialog is very similar in nature to what I'm trying to do. The dialog has a label and a description associated via corresponding aria tags and the focus is moved to the OK button as the dialog shows up. When this dialog appears for the first time orca presents its label followed by the presentation of the OK button. When this dialog is inwoked for the second, third or even more times no label and no description is presented. OK button is presented only.
Now load this other page:
http://davidtheclark.github.io/react-aria-modal/demo/Examples 1, 2, 4, 6 are similar to what I am expecting and they are failing in the same way as I have just described.
Examples 3 and 5 are focusing the container dialog and they are not working the way I'm expecting here.
The example proposed by Nolan at
https://gdkraus.github.io/accessible-modal-dialog/ is exhibiting the issue the way I have described. When activating the dialog for the first time it works correctly. When activating it multiple times second and other popups only report the button failing to report the dialog title and the dialog description.
Thanks and greetings
Peter
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]