gecko-dev/accessible/mac
Joanmarie Diggs b33dfc1490 Bug 1433891 - ARIA documents should be easily distinguishable from native ones r=marcoz
Gecko has two document roles: roles::DOCUMENT_FRAME and roles::DOCUMENT.
However, the former was not being used at all; the latter was being used
for both ARIA documents and for the native document container. We can
therefore fix this issue by repurposing the unused internal role:

* Rename the role from roles::DOCUMENT_FRAME to roles::NON_NATIVE_DOCUMENT,
  and add clarification to the doc strings in Role.h
* Ensure load events are still emitted for ARIA documents (bug 759833)
* Update the ARIA-document mochitests to reflect the above changes
* Change the ATK role mapping for roles::DOCUMENT (the native container)
  from ATK_ROLE_DOCUMENT_FRAME TO ATK_ROLE_DOCUMENT_WEB.
* On IAccessible2, map roles::NON_NATIVE_DOCUMENT to ROLE_SYSTEM_DOCUMENT.
  This should cause there to be no change in behavior for that platform.
* On macOS map roles::NON_NATIVE_DOCUMENT to NSAccessibilityGroupRole
  with a subrole of AXDocument.

--HG--
extra : rebase_source : bb6bacfa08c0d22e4e52a25d309d15b2a913320d
2018-02-06 12:13:00 +02:00
..
ARIAGridAccessibleWrap.h
AccessibleWrap.h
AccessibleWrap.mm Bug 1373739 - Make macOS compatible with the headless WPT changes. r=bdahl 2017-07-28 23:20:21 -07:00
ApplicationAccessibleWrap.h
DocAccessibleWrap.h
DocAccessibleWrap.mm
HTMLTableAccessibleWrap.h
HyperTextAccessibleWrap.h
ImageAccessibleWrap.h
MacUtils.h Bug 1391803 - Use nsStringFwd.h for forward declaring string classes. r=froydnj 2017-08-16 16:48:52 -07:00
MacUtils.mm
Platform.mm
RootAccessibleWrap.h
RootAccessibleWrap.mm
TextLeafAccessibleWrap.h
XULListboxAccessibleWrap.h
XULMenuAccessibleWrap.h
XULTreeGridAccessibleWrap.h
moz.build
mozAccessible.h Bug 1376303 - Expose aria-orientation via NSAccessibilityOrientationAttribute. r=MarcoZ 2017-06-27 05:26:00 -04:00
mozAccessible.mm Bug 1433891 - ARIA documents should be easily distinguishable from native ones r=marcoz 2018-02-06 12:13:00 +02:00
mozAccessibleProtocol.h
mozActionElements.h
mozActionElements.mm
mozDocAccessible.h
mozDocAccessible.mm
mozHTMLAccessible.h
mozHTMLAccessible.mm
mozTableAccessible.h
mozTableAccessible.mm
mozTextAccessible.h
mozTextAccessible.mm