gecko-dev/accessible
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
..
aom Bug 1419131 - adding a11y force disabled pref observer when accessibility service is being created. r=surkov 2017-11-29 00:01:18 -05:00
atk Bug 1278282 - Remove the 'MOZ_WIDGET_GTK == 2' defines r=karlt,lsalzman 2018-01-10 08:52:04 +01:00
base Bug 1433891 - ARIA documents should be easily distinguishable from native ones r=marcoz 2018-02-06 12:13:00 +02:00
generic Bug 1433891 - ARIA documents should be easily distinguishable from native ones r=marcoz 2018-02-06 12:13:00 +02:00
html Bug 1423541: Use BaseRect access methods instead of member variables in accessible/ r=surkov 2018-01-12 12:07:29 -05:00
interfaces Bug 1433891 - ARIA documents should be easily distinguishable from native ones r=marcoz 2018-02-06 12:13:00 +02:00
ipc Bug 1358372: Part 2 - Run Windows AudioSessionControl operations on main thread r=jimm 2018-01-10 14:57:19 -08:00
jsat Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian 2018-02-06 09:36:57 -08:00
mac Bug 1433891 - ARIA documents should be easily distinguishable from native ones r=marcoz 2018-02-06 12:13:00 +02:00
other Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium 2017-12-07 22:09:15 +01:00
tests Bug 1433891 - ARIA documents should be easily distinguishable from native ones r=marcoz 2018-02-06 12:13:00 +02:00
windows Bug 1428610 part 7. Make the nsICSSDeclaration length API nicer. r=emilio 2018-01-30 14:48:27 -05:00
xpcom Bug 1423541: Use BaseRect access methods instead of member variables in accessible/ r=surkov 2018-01-12 12:07:29 -05:00
xul Bug 1423541: Use BaseRect access methods instead of member variables in accessible/ r=surkov 2018-01-12 12:07:29 -05:00
.eslintrc.js Bug 1425244 - Enable ESLint rule object-shorthand for accessible/. r=surkov 2017-12-11 13:08:14 +00:00
moz.build Bug 1329977 - creating doc accessibles for existing content documents. r=surkov 2017-10-31 09:48:07 -04:00