ACTION-1541: Investigate and propose mappings for aria-modal property for axapi.

Investigate and propose mappings for aria-modal property for axapi.

State:
closed
Person:
Joseph Scheuhammer
Due on:
February 8, 2016
Created on:
November 25, 2014
Associated Issue:
aria-modal
Related emails:
  1. PFWG-ACTION-1541: Investigate and propose mappings for aria-modal property for axapi. (from sysbot+tracker@w3.org on 2014-11-25)

Related notes:

Propose AXAPI: ModalAttribute for window objects.

Joseph Scheuhammer, 25 Nov 2014, 21:21:59

Sent email to James:
https://lists.w3.org/Archives/Public/public-pfwg/2015Jun/0077.html

Joseph Scheuhammer, 15 Jun 2015, 14:22:47

Related WebKit bug:
https://bugs.webkit.org/show_bug.cgi?id=138566

Joseph Scheuhammer, 23 Jun 2015, 19:56:03

Another related webkit bug states, "Should be accessibilityViewIsModal on iOS. Waiting to hear back about AX API implementation." [1]

Holding pattern?

[1] https://bugs.webkit.org/show_bug.cgi?id=146013#c0

Joseph Scheuhammer, 29 Jun 2015, 16:12:01

Current webkit bugzilla is "in progress". Will keep monitoring it and hope it's done by the 1.1 release.

Joseph Scheuhammer, 14 Jul 2015, 19:34:38

Currently "resolved/fixed" in webkit bugzilla:
138566

Joseph Scheuhammer, 2 Feb 2016, 20:41:09

Found this on the Apple Developer Site:
https://developer.apple.com/library/mac/documentation/AppKit/Reference/NSAccessibility_Protocol_Reference/index.html#//apple_ref/occ/intfp/NSAccessibility/accessibilityModal

But, nothing there to say what a tester should see in the Accessiblity Inspector

Joseph Scheuhammer, 29 Feb 2016, 20:01:38

I completed action-2038. Pasting the comment from that action so it's in one place (and the dots are to force indentation because tracker is stripping/ignoring whitespace chars).

=========================

Using the OS X accessibility explorer to examine the accessibility trees with the modal dialog showing versus not, I'm not seeing any difference regarding inclusion of the background content in the tree. And VoiceOver still lets me read it.

HOWEVER, I modified the Layout Test in question to dump the accessibility tree when the modal dialog was showing. Results:

AXRole: AXWebArea AXValue:
....AXRole: AXGroup AXValue:
........AXRole: AXHeading AXValue: 3
............AXRole: AXGroup AXValue:
................AXRole: AXButton AXValue:
................AXRole: AXButton AXValue:

Then I did the same for when the modal dialog was dismissed. Results:

AXRole: AXWebArea AXValue:
....AXRole: AXGroup AXValue:
........AXRole: AXStaticText AXValue: Other page content with
........AXRole: AXLink AXValue:
............AXRole: AXStaticText AXValue: a dummy focusable element
....AXRole: AXGroup AXValue:
........AXRole: AXButton AXValue:
....AXRole: AXGroup AXValue:

So at least as far as WebKit/Safari is concerned, when the modal dialog is showing, the background content is pruned from the tree; when the modal dialog is not showing, the background content is present in the tree.

So my original theory seems to be correct. What *might* (??) be the case is that some of the support will need to be implemented in the accessibility clients. But that would be a question for Apple.

Joanmarie Diggs, 8 Mar 2016, 23:43:47

Having reviewed this, I find that I want a simple answer (if there is one): what should go into the AXAPI mapping for aria-modal?
https://rawgit.com/w3c/aria/master/core-aam/core-aam.html#ariaModalTrue
https://rawgit.com/w3c/aria/master/core-aam/core-aam.html#ariaModalFalse

Joseph Scheuhammer, 4 Apr 2016, 18:51:43

Repeating my last note with a suggsetion:
Having reviewed this, I find that I want a simple answer (if there is one): what should go into the AXAPI mapping for aria-modal?

Something along the lines of:
"
When aria-modal='true', the modal content is asserted, and the rest of the AXAPI accessibility tree that represents the non-modal content (the "background") is pruned from the tree, but put back when the modal content is removed.
"
?

https://rawgit.com/w3c/aria/master/core-aam/core-aam.html#ariaModalTrue
https://rawgit.com/w3c/aria/master/core-aam/core-aam.html#ariaModalFalse

Joseph Scheuhammer, 4 Apr 2016, 18:57:33

Changes made:
https://github.com/w3c/aria/commit/ac6d96fd5b25ddb0ee05a25e39a0dd68abbc3f68

Rawgit:
https://rawgit.com/w3c/aria/master/core-aam/core-aam.html#ariaModalTrue
https://rawgit.com/w3c/aria/master/core-aam/core-aam.html#ariaModalFalse

Events:
https://rawgit.com/w3c/aria/master/core-aam/core-aam.html#event-aria-modal

Joseph Scheuhammer, 12 Apr 2016, 19:01:30

Reviewed and approved at AAPI meeting 12-Apr-2016; closing.

Joseph Scheuhammer, 15 Apr 2016, 14:15:10

Display change log.


James Nurthen <w3c@nurthen.com>, Valerie Young <spectranaut@igalia.com>, Chairs, Daniel Montalvo <dmontalvo@w3.org>, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 1541.html,v 1.1 2023/05/22 16:31:50 carcone Exp $