Joanmarie Diggs
6b905b817a
Bug 1358462 - Elements with role="region" and no accessible name should be mapped according to host language. r=MarcoZ
...
Perform a sanity check in Accessible::ARIATransformRole() for the
internal REGION role: If there is no accessible name, transform
the ARIA role into the native host language role. Also perform
a sanity check when getting the AXSubrole in macOS: If the roleAtom
is nsGkAtoms::region, only return AXLandmarkRegion if the internal
role is REGION.
2017-07-04 18:24:00 -04:00
Joanmarie Diggs
4cc658fc52
Bug 1378160 - The ARIA region role should be exposed as a landmark; not a pane. r=MarcoZ
...
Create a new internal REGION role which maps to the generic landmark role
of each platform accessibility API. Update the internal mapping of region
from roles::PANE and kGenericAccType to roles::REGION and eLandmark. Also
change the AXSubrole of region from "AXDocumentRegion" to "AXLandmarkRegion",
the latter being what is specified in the Core AAM 1.1 and used in Safari.
2017-07-04 18:10:00 -04:00
Joanmarie Diggs
dd969f27d8
Bug 1356049 - Map ARIA figure role. r=marcoz
...
Add the figure role to the ARIA role map so that it's exposed on all
platforms. Expose "figure" as the AXRoleDescription for macOS.
2017-07-04 04:27:00 +02:00
Joanmarie Diggs
68f6fdc9bf
Bug 1376303 - Expose aria-orientation via NSAccessibilityOrientationAttribute. r=MarcoZ
...
Add orientation() method to the macOS accessibility wrapper, mapping
states::Horizontal to NSAccessibilityHorizontalOrientationValue,
states::NSAccessibilityVerticalOrientationValue and the absence of
both to NSAccessibilityUnknownOrientationValue.
2017-06-27 05:26:00 -04:00
Joanmarie Diggs
0078007f2f
Bug 1376121 - DPub ARIA footnote role should have AXSubrole AXApplicationGroup. r=MarcoZ
...
Add the missing mapping. No new test case because there is no means for
testing platform accessibility API mappings via mochitest.
2017-06-24 09:47:00 -04:00
Joanmarie Diggs
2ffc4eeb7d
Bug 1376111 - Fix AXRoleDescription for ARIA heading role. r=MarcoZ
...
The AXRoleDescription should be "heading" not "AXHeading." Add a new
localized string and use it for roles::HEADING.
2017-06-26 00:43:00 -04:00
Joanmarie Diggs
493e3be69d
Bug 1376107 - Fix macOS AXRoleDescription for DPub ARIA AXLandmarkRegion. r=marcoz
...
DPub ARIA AXLandmarkRegion-maped roles should have an AXRoleDescription
value of "region"; not "group." This requires an explicit mapping, which
was not done during the initial implementation. No new test cases because
we currently have no means to test platform-accessibility-API mappngs via
mochitest.
2017-06-24 07:15:00 +02:00
Joanmarie Diggs
7fb0a768f2
Bug 1376037 - Expose element id via NSAccessibility. r=marcoz
...
Use the attribute name "AXDOMIdentifier" to be consistent with what
is done in WebKit and Blink.
2017-06-23 16:19:00 +02:00
Joanmarie Diggs
a03e7d2680
Bug 1376108 - Fix macOS mapping for ARIA separator role. r=marcoz
...
According to the Core Accessibility API Mappings 1.1 spec, on macOS,
the separator role should have AXRoleDescription "splitter" and no
subrole. The incorrect AXRoleDescription is due to the subrole mapping
to AXContentSeparator. Thus removing the latter fixes the former.
2017-06-24 08:18:00 +02:00
Joanmarie Diggs
638636b4ef
Bug 1373786 - Mapping of "article" role and element is incorrect for AX API and ATK. r=surkov
2017-06-16 16:07:23 -04:00
Joanmarie Diggs
8f7067dc67
Bug 1355423
- Fix AtkRole and AXSubrole for ARIA treeitem. r=surkov
2017-06-16 12:15:45 -04:00
Joanmarie Diggs
c306e05c88
Bug 1343537 - Implement ARIA DPUB extension. r=surkov
...
--HG--
extra : rebase_source : 38af7ac790cb60d952b1dc2885f50fc9c15cdea6
2017-06-13 15:06:08 -04:00
Trevor Saunders
d1713296dd
bug 1338755 - make RemoteChildDoc() return a DocAccessibleParent* r=yzen
2017-02-17 09:06:26 -05:00
Aaron Klotz
1ee837c40c
Bug 1268544: Refactor PDocAccessible and its dependencies, and add code to integrate remote COM objects; r=tbsaunde
...
MozReview-Commit-ID: Fr4q3dq1ZQU
--HG--
rename : accessible/ipc/DocAccessibleChild.cpp => accessible/ipc/other/DocAccessibleChild.cpp
rename : accessible/ipc/DocAccessibleChild.h => accessible/ipc/other/DocAccessibleChild.h
rename : accessible/ipc/PDocAccessible.ipdl => accessible/ipc/other/PDocAccessible.ipdl
rename : accessible/ipc/moz.build => accessible/ipc/other/moz.build
rename : accessible/ipc/PDocAccessible.ipdl => accessible/ipc/win/PDocAccessible.ipdl
2016-08-15 17:14:53 -06:00
Sebastian Hengst
87b8b23d92
Backed out changeset a2b189275d7a (bug 1268544) for asserting in Windows M(oth) jobs. r=backout on a CLOSED TREE
...
--HG--
rename : accessible/ipc/other/DocAccessibleChild.cpp => accessible/ipc/DocAccessibleChild.cpp
rename : accessible/ipc/other/DocAccessibleChild.h => accessible/ipc/DocAccessibleChild.h
rename : accessible/ipc/win/PDocAccessible.ipdl => accessible/ipc/PDocAccessible.ipdl
2016-08-19 10:04:23 +02:00
Aaron Klotz
1d9ba42f65
Bug 1268544: Refactor PDocAccessible and its dependencies, and add code to integrate remote COM objects; r=tbsaunde
...
MozReview-Commit-ID: Fr4q3dq1ZQU
--HG--
rename : accessible/ipc/DocAccessibleChild.cpp => accessible/ipc/other/DocAccessibleChild.cpp
rename : accessible/ipc/DocAccessibleChild.h => accessible/ipc/other/DocAccessibleChild.h
rename : accessible/ipc/PDocAccessible.ipdl => accessible/ipc/other/PDocAccessible.ipdl
rename : accessible/ipc/moz.build => accessible/ipc/other/moz.build
rename : accessible/ipc/PDocAccessible.ipdl => accessible/ipc/win/PDocAccessible.ipdl
2016-08-15 17:14:53 -06:00
Phil Ringnalda
0d69896d44
Backed out 6 changesets (bug 1288841, bug 1268544) for causing Win7 e10s Marionette to fail in test_import_script.py TestImportScriptContent.test_imports_apply_globally
...
Backed out changeset c9f49a119255 (bug 1288841)
Backed out changeset a9d43e83e070 (bug 1268544)
Backed out changeset d898178a0809 (bug 1268544)
Backed out changeset 4887b4164dd9 (bug 1268544)
Backed out changeset 7c3a5a770cae (bug 1268544)
Backed out changeset 12aa15cf5879 (bug 1268544)
--HG--
rename : accessible/ipc/other/DocAccessibleChild.cpp => accessible/ipc/DocAccessibleChild.cpp
rename : accessible/ipc/other/DocAccessibleChild.h => accessible/ipc/DocAccessibleChild.h
rename : accessible/ipc/win/PDocAccessible.ipdl => accessible/ipc/PDocAccessible.ipdl
rename : accessible/ipc/win/ProxyAccessible.cpp => accessible/ipc/ProxyAccessible.cpp
rename : accessible/ipc/win/ProxyAccessible.h => accessible/ipc/ProxyAccessible.h
2016-08-18 00:30:21 -07:00
Aaron Klotz
c3a25c1ddc
Bug 1268544: Refactor PDocAccessible and its dependencies, and add code to integrate remote COM objects; r=tbsaunde
...
MozReview-Commit-ID: Fr4q3dq1ZQU
--HG--
rename : accessible/ipc/DocAccessibleChild.cpp => accessible/ipc/other/DocAccessibleChild.cpp
rename : accessible/ipc/DocAccessibleChild.h => accessible/ipc/other/DocAccessibleChild.h
rename : accessible/ipc/PDocAccessible.ipdl => accessible/ipc/other/PDocAccessible.ipdl
rename : accessible/ipc/moz.build => accessible/ipc/other/moz.build
rename : accessible/ipc/PDocAccessible.ipdl => accessible/ipc/win/PDocAccessible.ipdl
2016-08-15 17:14:53 -06:00
Wes Kocher
021a12c86f
Backed out changesets e4a39e456f89 (bug 1268544) for mass build bustage a=backout CLOSED TREE
...
***
Backed out changeset 119a4b187938 (bug 1268544)
***
Backed out changeset d83cba382cfe (bug 1268544)
***
Backed out changeset a0085eb5ffe7 (bug 1268544)
***
Backed out changeset eefa457c3680 (bug 1288843)
***
Backed out changeset 17dc46beb1a5 (bug 1288841)
***
Backed out changeset e76f58f328d4 (bug 1268544)
***
Backed out changeset ffc8ee715fdb (bug 1268544)
***
Backed out changeset 99f0ea19b8f5 (bug 1268544)
***
Backed out changeset 2bdfb9514317 (bug 1268544)
***
Backed out changeset e4b3a5e1756d (bug 1268544)
--HG--
rename : accessible/ipc/other/DocAccessibleChild.cpp => accessible/ipc/DocAccessibleChild.cpp
rename : accessible/ipc/other/DocAccessibleChild.h => accessible/ipc/DocAccessibleChild.h
rename : accessible/ipc/win/PDocAccessible.ipdl => accessible/ipc/PDocAccessible.ipdl
rename : accessible/ipc/win/ProxyAccessible.cpp => accessible/ipc/ProxyAccessible.cpp
rename : accessible/ipc/win/ProxyAccessible.h => accessible/ipc/ProxyAccessible.h
extra : amend_source : dc73ec117c7279539cab36af821637bb1b0236bd
extra : histedit_source : 438ce81f07a53af61b1cabf7620f30b090e7d5e2%2Ccb6472913fe0d7d2ec66bf0cedc18f2e4d00678e
2016-08-15 15:58:45 -07:00
Aaron Klotz
55b28e20c7
Bug 1268544: Refactor PDocAccessible and its dependencies, and add code to integrate remote COM objects; r=tbsaunde
...
MozReview-Commit-ID: Fr4q3dq1ZQU
--HG--
rename : accessible/ipc/DocAccessibleChild.cpp => accessible/ipc/other/DocAccessibleChild.cpp
rename : accessible/ipc/DocAccessibleChild.h => accessible/ipc/other/DocAccessibleChild.h
rename : accessible/ipc/PDocAccessible.ipdl => accessible/ipc/other/PDocAccessible.ipdl
rename : accessible/ipc/moz.build => accessible/ipc/other/moz.build
rename : accessible/ipc/PDocAccessible.ipdl => accessible/ipc/win/PDocAccessible.ipdl
2016-08-15 14:24:04 -06:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Jonathan Watt
b15368cfcb
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Lorien Hu
f5740ca0da
Bug 1274195 - Invalidate children of remote mozAccessible's remote parents r=tbsaunde
2016-06-09 14:33:48 -07:00
Lorien Hu
aa26e8feb1
Bug 1252645 - Return native for outerdoc owner of top-level proxies in mozAccessible parent r=tbsaunde
2016-06-09 14:33:48 -07:00
Lorien Hu
ce5ba79772
Bug 1199755 - Retrieve native proxy children when mozAccessible children is called on outerdocs in parent r=tbsaunde
2016-06-09 14:33:48 -07:00
Lorien Hu
02f547704c
Bug 1254824 - Stop filtering ignored mozAccessibles when creating native objects p4 r=surkov
2016-06-09 14:33:48 -07:00
Lorien Hu
0de68faca5
Bug 1254824 - Stop filtering ignored mozAccessibles when creating native objects p3 r=surkov
2016-06-09 14:33:48 -07:00
Lorien Hu
94e7bb6e3b
Bug 1254824 - Stop filtering ignored mozAccessibles when creating native objects p2 r=surkov
2016-06-09 14:33:48 -07:00
Lorien Hu
12b9fceae9
Bug 1254824 - Stop filtering ignored mozAccessibles when creating native objects p1 r=surkov
2016-06-09 14:33:48 -07:00
Marco Zehe
194d876eb2
Bug 634004 - Implement accessibility API support for html:details and html:summary elements, r=surkov
...
This implements the roles, states, and action names, but omits the state change event part that is currently made impossible by us recreating the html:summary accessible once it toggles the html:details open state. This is probably due to some reframing causing us to recreate the accessible. Suggest to move that to a separate bug and implement the basics now and the event later.
MozReview-Commit-ID: FEi5RIXdkG0
--HG--
extra : rebase_source : 9b65bc28483238e2339561e6494ccc2884cb7c42
2016-06-01 17:07:56 +02:00
Trevor Saunders
471e46a43a
bug 1266518 - add a new event message for AccSelChangeEvents r=davidb
...
For these events atk needs to know about the widget not the event target, and
the easiest way to support that is by adding a new event message that sends the
widget id.
2016-04-25 13:38:06 -04:00
Trevor Saunders
f2bc8b52ca
bug 1262563 - fire show / hide events for proxied accessibles r=davidb
2016-04-21 13:41:09 -04:00
Nathan Froyd
dc00d2ec98
Bug 1264784 - part 1 - call nsIFrame::{GetScreenRect,GetView} instead of their *External counterparts; r=dholbert
...
The latter functions just call through to the former functions, and
we're going to remove the latter functions in a separate, subsequent
patch.
2016-04-15 19:37:35 -04:00
Alexander Surkov
167cbebba2
Bug 1261165 - remove Accessible::ChildrenFlags, r=yzen
2016-04-05 17:34:00 -04:00
Alexander Surkov
7e614aef9d
Bug 1260237 - remove InvalidateChildren, r=yzen
2016-03-31 20:46:58 -04:00
Nicholas Nethercote
7cb4896c8f
Bug 1255655 - Const-ify sWAIRoleMaps. r=tbsaunde.
...
--HG--
extra : rebase_source : 1274cdb26bbc41456e91b67849733bfb5bc89401
2016-03-11 13:13:01 +11:00
Alexander Surkov
2bf7aa7227
Bug 1251897 - DocAccessible constructor doesn't have to take root element as an argument, r=davidb
2016-03-02 09:39:06 -05:00
Lorien Hu
f5da8cca7e
Bug 1250981 - Add null check to mozTabAccessible value r=davidb
2016-02-24 11:14:04 -08:00
Lorien Hu
1ccd72789b
Bug 1201667 - Traverse child when retrieving proxy unignored children r=tbsaunde
2015-09-03 13:02:07 -07:00
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Phil Ringnalda
d381b4bca6
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Jonathan Kew
2ff25b1f53
Bug 1239007 - Replace nsIntRect by strongly-typed rects in a couple of nsCocoaUtils functions. r=mstange
2016-01-13 07:32:55 +00:00
Nicholas Nethercote
d9c0c03bfe
Bug 1225007 (part 2, attempt 3) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
2015-11-19 17:34:20 +11:00
Phil Ringnalda
87802cdbad
Backed out 2 changesets (bug 1225007) for frequent OS X "Shouldn't return empty rect" assertion failures, a=backout
...
Backed out changeset c5b352c74b35 (bug 1225007)
Backed out changeset 8a513c70ce7c (bug 1225007)
2015-11-19 20:55:26 -08:00
Nicholas Nethercote
03fdbf3423
Bug 1225007 (part 2, attempt 2) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
...
--HG--
extra : rebase_source : 02a735d1dfb07cd1bfb559dcc1049fc2966c6db6
2015-11-19 17:34:20 +11:00
Nicholas Nethercote
26b0d282a5
Backout 52ba24123046 and 66768d6a50fa (bug 1225007) for causing lots of test assertions on Mac. CLOSED TREE
2015-11-17 17:02:39 -08:00
Nicholas Nethercote
78829dd6ba
Bug 1225007 (part 2) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
...
--HG--
extra : rebase_source : 0dcf2d580a836faf76cb392eb5561bfa3481d5c2
2015-11-16 19:40:53 -08:00
Trevor Saunders
3dd3759899
bug 1213402 - separate value change events into text value changes and numeric value changes r=davidb
...
Arguably these are different things, and it will be easier to proxy events for
atk this way because atk only wants the numeric value changes.
2015-11-10 15:55:08 -05:00
Carsten "Tomcat" Book
ce97f44675
Backed out changeset f20fa392e98b (bug 1199755) for assertions/test failures in test_content_integration.htm on a CLOSED TREE
2015-10-21 12:28:56 +02:00