Граф коммитов

8529 Коммитов

Автор SHA1 Сообщение Дата
James Teh 93e2f3eea8 Bug 1660359 part 1: Unify rejection of a11y focus on remote OuterDocAccessibles. r=yzen
Before Fission, FocusManager::FocusedDOMNode rejected a11y focus on remote XUL browsers by checking EventStateManager::IsRemoteTarget.
In bug 1594623, code was added to FocusManager::ProcessDOMFocus to prevent a11y focus on OuterDocAccessibles in order to reject focus on OOP iframes.
In bug 1635784, EventStateManager::IsRemoteTarget was renamed to EventStateManager::IsTopLevelRemoteTarget, and EventStateManager::IsRemoteTarget now checks for OOP iframes as well.
This allows us to unify rejection of a11y focus on remote OuterDocAccessibles in FocusManager::FocusedDOMNode.

Differential Revision: https://phabricator.services.mozilla.com/D87996
2020-08-27 06:12:29 +00:00
Eitan Isaacson c4d362acce Bug 1660364 - Add marker index support. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D88077
2020-08-27 20:06:51 +00:00
Eitan Isaacson 1962242b94 Bug 1660364 - Introduce IPDL getters for text range length, and absolute offsets. r=morgan,mccr8
We need a sync IPC call for this because otherwise the number of smaller sync messages we would need to call would be variable.

Differential Revision: https://phabricator.services.mozilla.com/D88076
2020-08-27 20:06:42 +00:00
Sonia Singla 3c29de9496 Bug 1656294 - Enable all ESLint rules on accessible/tests/mochitest/*.xhtml files. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D85459
2020-08-27 09:36:18 +00:00
Bogdan Tara ce21a13035 Backed out 4 changesets (bug 1657459, bug 1660359) for browser_modal_print.js failures CLOSED TREE
Backed out changeset 971e2d1a6140 (bug 1657459)
Backed out changeset a447925c9f8e (bug 1660359)
Backed out changeset 697accb3ceb3 (bug 1660359)
Backed out changeset fc650bd7d6b8 (bug 1660359)
2020-08-27 09:01:46 +03:00
James Teh b9c8114a73 Bug 1660359 part 2: Allow a11y focus on a remote print preview OuterDocAccessible. r=jwatt,yzen
Print preview documents don't get DocAccessibles because this currently causes crashes and doesn't provide much value.
However, we still want to tell a11y clients something useful when a print preview document gets focus, rather than a11y focus just going nowhere.
Therefore, we allow a11y focus to land on the OuterDocAccessible (browser element) in this case.

Differential Revision: https://phabricator.services.mozilla.com/D87997
2020-08-26 13:49:43 +00:00
James Teh e835259d70 Bug 1660359 part 1: Unify rejection of a11y focus on remote OuterDocAccessibles. r=yzen
Before Fission, FocusManager::FocusedDOMNode rejected a11y focus on remote XUL browsers by checking EventStateManager::IsRemoteTarget.
In bug 1594623, code was added to FocusManager::ProcessDOMFocus to prevent a11y focus on OuterDocAccessibles in order to reject focus on OOP iframes.
In bug 1635784, EventStateManager::IsRemoteTarget was renamed to EventStateManager::IsTopLevelRemoteTarget, and EventStateManager::IsRemoteTarget now checks for OOP iframes as well.
This allows us to unify rejection of a11y focus on remote OuterDocAccessibles in FocusManager::FocusedDOMNode.

Differential Revision: https://phabricator.services.mozilla.com/D87996
2020-08-24 17:17:19 +00:00
Eitan Isaacson 2a6f71babd Bug 1660906 - Introduce .clang-format file for Objective C rules. r=morgan
I also altered the mode line in all the file headers so that editors use the correct syntax features.

Differential Revision: https://phabricator.services.mozilla.com/D88081
2020-08-25 21:40:32 +00:00
Eitan Isaacson 2a5c410bc2 Bug 1660303 - Remove list bullets from text marker navigation. r=Jamie
We need to navigate past bullets when moving markers by character or word,
but we need to still include bullets when retrieving the string of a given
marker range.

Differential Revision: https://phabricator.services.mozilla.com/D87813
2020-08-24 21:07:14 +00:00
Eitan Isaacson bdd3a676c4 Bug 1660290 - Robustify text marker reverse iteration. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D87797
2020-08-24 21:07:10 +00:00
Morgan Reschenberg a37d79921f Bug 1658832: Add AXArticleSearchKey to MOXSearchInfo class. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D86869
2020-08-14 23:03:50 +00:00
James Teh fceae5b85b Bug 1660145: a11y tree test_media.html: Be more specific in the criteria when waiting for the buffer percentage Accessible to be shown. r=MarcoZ
It seems checking for the parent role alone wasn't specific enough.

Differential Revision: https://phabricator.services.mozilla.com/D87694
2020-08-21 05:44:23 +00:00
Eitan Isaacson 4b2ca1f36a Bug 1660109 - Support get bounds for text marker range. r=Jamie
Depends on D87669

Differential Revision: https://phabricator.services.mozilla.com/D87670
2020-08-20 22:12:23 +00:00
Eitan Isaacson 1b3266b806 Bug 1660109 - Add BoundsForRange sync ipc call. r=Jamie,nika
Differential Revision: https://phabricator.services.mozilla.com/D87669
2020-08-20 22:11:41 +00:00
James Teh 9a38047a36 Bug 1659641: Remove redundancy from the label for the video controls volume slider. r=fluent-reviewers,Gijs
The fact that this control is a slider is communicated through its role.
Having the word "slider" in the label is thus redundant and results in unnecessary verbosity for screen reader users.

Differential Revision: https://phabricator.services.mozilla.com/D87401
2020-08-19 21:57:06 +00:00
James Teh 5038ab2404 Bug 1496851 part 3: Don't expose the buffering bar as a progress bar for a11y. r=MarcoZ,fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D87220
2020-08-19 21:56:45 +00:00
James Teh eb7b38c282 Bug 1496851 part 2: Improve a11y of the position scrubber in the video controls. r=MarcoZ,fluent-reviewers,Gijs
1. Label it.

2. Expose the position and duration as its value text.
    The raw numeric value exposed previously wasn't meaningful to users.

3. Hide the progressBar for a11y.
    While the scrubber and progressBar are visually combined, they are exposed as entirely separate controls for a11y.
    As well as duplicating information, progress bars are automatically reported by screen readers even if they aren't focused, which intrudes on the audio being played.

4. Remove tabindex="-1" on the progressBar.
    A progress element isn't focusable by default.
    tabindex="-1" makes it programmatically focusable (but not tabbable).
    This isn't interactive, so there's no reason for this to be programmatically focusable.
    Moreover, this is now aria-hidden and aria-hidden elements should never be focusable.

Differential Revision: https://phabricator.services.mozilla.com/D87400
2020-08-19 21:56:32 +00:00
Eitan Isaacson 62494de24f Bug 1659215 - Re-expose text attributes. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D87149
2020-08-14 23:18:02 +00:00
Eitan Isaacson ea71c11994 Bug 1657765 - Alter GeckoTextMarker to use new IPDL calls. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D86607
2020-08-14 19:33:02 +00:00
Eitan Isaacson 58ae94661e Bug 1657765 - Add IPDL interface for platform-specific mac API. r=morgan,Jamie,nika
Differential Revision: https://phabricator.services.mozilla.com/D86606
2020-08-14 19:33:00 +00:00
Eitan Isaacson 3dcf7fa7ab Bug 1657765 - Add HyperTextAccessibleWrap for Mac. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D86605
2020-08-14 19:31:50 +00:00
Kagami Sascha Rosylight 3742a0a9e0 Bug 1659028 - Move IsDisabled() from nsGeneralHTMLElement to Element r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D87022
2020-08-14 08:36:36 +00:00
Eitan Isaacson 7ac061f2db Bug 1657759 - Fix TextPoints lesser-than operator. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D86276
2020-08-11 16:26:04 +00:00
Emilio Cobos Álvarez 0563da73d2 Bug 1639328 - Fix browser_hidden_iframe.js. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D86591
2020-08-11 02:17:15 +00:00
Razvan Maries eed7de660b Backed out 2 changesets (bug 1639328) for perma failures on test_bug1639328.html. CLOSED TREE
Backed out changeset 23130282a937 (bug 1639328)
Backed out changeset 8628c5cddd14 (bug 1639328)
2020-08-11 05:13:41 +03:00
Emilio Cobos Álvarez a80f2b2689 Bug 1639328 - Fix browser_hidden_iframe.js. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D86591
2020-08-10 23:00:10 +00:00
Eitan Isaacson 00eb0ff041 Bug 1658427 - Add mac accessibility logging. r=morgan
This uses the Gecko logging framework. To get debug logs set MOZ_LOG to
"MacAccessibility:4". To get verbose logging, set it to "MacAccessibility:5".

Differential Revision: https://phabricator.services.mozilla.com/D86618
2020-08-10 22:39:42 +00:00
Morgan Reschenberg e0063096cd Bug 1652809: Add rotor mochitest for headings. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D85917
2020-08-07 16:54:36 +00:00
Mike Hommey 91952035ff Bug 1656141 - Remove redundant manifest references in rc include files. r=firefox-build-system-reviewers,rstewart
The build system will add these manifests whether they are referenced
explicitly in theses rc include files or not.

Differential Revision: https://phabricator.services.mozilla.com/D86157
2020-08-06 22:51:52 +00:00
Mike Hommey ee6a08868d Bug 1656141 - Remove EMBED_MANIFEST_AT. r=froydnj
It was only ever set to the same value as its default, except in
comm-central, where it is unset, but in directories that now don't link
anything (they did back when binary components were a thing).

Differential Revision: https://phabricator.services.mozilla.com/D85381
2020-08-06 22:52:08 +00:00
Eitan Isaacson 98e23587ae Bug 1657744 - Don't fail when forcing e10s off on a11y browser tests. r=yzen DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D86271
2020-08-06 23:19:23 +00:00
Mihai Alexandru Michis c4e805857f Backed out 9 changesets (bug 1656141) for causing multiple failures.
CLOSED TREE

Backed out changeset 9033b0400339 (bug 1656141)
Backed out changeset e43dd57dc61a (bug 1656141)
Backed out changeset eb450457a9b7 (bug 1656141)
Backed out changeset 194a994cf9c9 (bug 1656141)
Backed out changeset ce6831acb5e3 (bug 1656141)
Backed out changeset 29653ea85d49 (bug 1656141)
Backed out changeset 704f28486bda (bug 1656141)
Backed out changeset de8899453150 (bug 1656141)
Backed out changeset 4b133eda46aa (bug 1656141)
2020-08-07 01:48:45 +03:00
Morgan Reschenberg e4bdad9acd Bug 1657665: Filter pivot matches for which there is no corresponding native accessible. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D86264
2020-08-06 21:42:03 +00:00
Mike Hommey 172e5c81ec Bug 1656141 - Remove redundant manifest references in rc include files. r=firefox-build-system-reviewers,rstewart
The build system will add these manifests whether they are referenced
explicitly in theses rc include files or not.

Differential Revision: https://phabricator.services.mozilla.com/D86157
2020-08-06 15:54:56 +00:00
Mike Hommey afec638391 Bug 1656141 - Remove EMBED_MANIFEST_AT. r=froydnj
It was only ever set to the same value as its default, except in
comm-central, where it is unset, but in directories that now don't link
anything (they did back when binary components were a thing).

Differential Revision: https://phabricator.services.mozilla.com/D85381
2020-08-06 07:05:36 +00:00
Eitan Isaacson b17f3f72ed Bug 1635722 - Hide text marker range attributes that hammer IPC. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D86230
2020-08-06 16:42:45 +00:00
Simon Giesecke 1e6ec7ec86 Bug 1656117 - Reduce include dependencies on nsRefreshDriver.h. r=mstange
The abstract observer base classes are moved to a separate header file
nsRefreshObservers.h and the includes are adjusted accordingly.

Some method implementations are moved to the corresponding implementation files
to avoid the need to include the nsRefreshDriver.h file in the header.

Differential Revision: https://phabricator.services.mozilla.com/D85764
2020-08-04 21:17:50 +00:00
Eitan Isaacson 8fa865b06a Bug 1635722 - Check existance of proxy accessibles for pivot boundaries. r=Jamie
The new pivot boundaries might consist of accessibles that don't exist
yet in the parent process proxy tree.

I guess we can tweak the timing of the pivot boundaries message to be
sent only after remote tree construction. But this seems like an edge
case that quickly gets corrected after the next cache refresh.

Differential Revision: https://phabricator.services.mozilla.com/D85912
2020-08-04 22:16:23 +00:00
Eitan Isaacson a429319a6b Bug 1657193 - Bail early if we detect tree corruption when building a string. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D85909
2020-08-04 21:06:12 +00:00
Morgan Reschenberg 4dc69f92a7 Bug 1652809: Add NSDictionary (JS to ObjCpp) parsing to xpc Mac interface r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D85339
2020-08-04 21:05:24 +00:00
Morgan Reschenberg 4148549840 Bug 1652809: Add heading attributes to rotor r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D83673
2020-08-04 21:00:25 +00:00
Simon Giesecke 96f3e7e019 Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D84807
2020-08-04 11:27:07 +00:00
James Teh f26ee07ab8 Bug 1655652: Prevent bogus assertion in IsDefunct() for DummyAccessibles. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D85710
2020-08-03 17:31:40 +00:00
Noemi Erli 381fca9783 Backed out 4 changesets (bug 1654992, bug 1654991) for causing timeous in mask-opacity-1e.html
Backed out changeset 11f0f54c6e0a (bug 1654992)
Backed out changeset a353dd5b3f08 (bug 1654991)
Backed out changeset 6a7964ba549f (bug 1654991)
Backed out changeset cf3bfb91d98c (bug 1654991)
2020-08-03 22:09:36 +03:00
Simon Giesecke 032d2ac9d3 Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D84807
2020-08-03 14:54:18 +00:00
Dorel Luca 03794edd6e Merge autoland to mozilla-central. a=merge 2020-07-31 12:45:12 +03:00
Morgan Reschenberg b788945f30 Bug 1652809: Create search class for querying rotor elements r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D83672
2020-07-30 22:17:41 +00:00
Eitan Isaacson 80f99b2bcb Bug 1654603 - Support text entry in contenteditable nested nodes. r=morgan
VoiceOver expects text value change events to originate from the editable ancestor.

Differential Revision: https://phabricator.services.mozilla.com/D85050
2020-07-27 22:20:06 +00:00
Morgan Reschenberg 95e4d6df8e Bug 1652809: Convert Pivot framework to use AccessibleOrProxy objects r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D83671
2020-07-28 22:35:24 +00:00
Eitan Isaacson 1c1c047771 Bug 1655779 - Check that range is valid before getting its string. r=MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D85179
2020-07-28 16:02:20 +00:00