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

2226 Коммитов

Автор SHA1 Сообщение Дата
Yura Zenevich 38f55cdb70 Bug 1429575 - removing test disabling conditions. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D61729

--HG--
extra : moz-landing-system : lando
2020-02-06 00:30:08 +00:00
Kendall Werts a3b87c2eaa Bug 1613250 - Bring long press for new container tab menu back. r=Gijs,flod
Added long press as well as the old tooltip language back
and updated 2 tests.

Differential Revision: https://phabricator.services.mozilla.com/D61717

--HG--
extra : moz-landing-system : lando
2020-02-05 21:50:58 +00:00
Morgan Reschenberg 6d7530b618 Bug 1590216: Test for a EVENT_TEXT_CARET_MOVED when text is selected in the URL bar of a new window. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D56781

--HG--
extra : moz-landing-system : lando
2020-02-04 11:25:01 +00:00
Tim Nguyen 3b6875eeb1 Bug 1610404 - Remove nsGroupBoxFrame (display: -moz-groupbox). r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D61422

--HG--
extra : moz-landing-system : lando
2020-02-03 09:55:51 +00:00
Yura Zenevich 292f5c39cb Bug 1429575 - update test_browserui test to use BrowserTestUtils wherever possible. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D61234

--HG--
extra : moz-landing-system : lando
2020-01-31 15:00:45 +00:00
Kendall Werts 7f966c7fbf Bug 1606265 - Work on new tab containers menu popup. r=fluent-reviewers,Gijs,flod
Added right click on new tab button to open containers menu.
Removed long press and added option to enable left click in preferences menu.
Renamed privacy.userContext.longPressBehavior to privacy.userContext.newTabContainer.enabled

Differential Revision: https://phabricator.services.mozilla.com/D58410

--HG--
extra : moz-landing-system : lando
2020-01-23 22:28:30 +00:00
James Teh 28c14667c7 Bug 1610596: Ignore ARIA roles other than application or dialog on body elements. r=MarcoZ
This means that for any other ARIA role, we will expose the DOCUMENT role on the DocAccessible.

Differential Revision: https://phabricator.services.mozilla.com/D60632

--HG--
extra : moz-landing-system : lando
2020-01-23 04:34:22 +00:00
shindli 12ffabd93a Backed out changeset 093a40a347df (bug 1597742) for causing perma a11y failures in test_scrollSubstringToPoint.html CLOSED TREE 2020-01-21 12:35:23 +02:00
James Teh 4422d3b762 Bug 1597742: Add tests for HyperTextAccessible::ScrollSubstringToPoint. r=MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D60207

--HG--
extra : moz-landing-system : lando
2020-01-21 09:49:10 +00:00
Brindusan Cristian dd881ec0a0 Backed out changeset 1ad80659be06 (bug 1597742) for mochitest failures at test_scrollSubstringToPoint.html. CLOSED TREE 2020-01-17 10:53:33 +02:00
James Teh e5ff62b3c3 Bug 1597742: Add tests for HyperTextAccessible::ScrollSubstringToPoint. r=MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D60207

--HG--
extra : moz-landing-system : lando
2020-01-17 05:34:12 +00:00
Emilio Cobos Álvarez e0e98fed6c Bug 1609394 - Hide spin buttons from the a11y tree. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D60018

--HG--
extra : moz-landing-system : lando
2020-01-16 13:00:52 +00:00
James Teh 1968353c48 Bug 1609589: Fire a value change event when the text of a spin button changes. r=MarcoZ
After bug 981248, <input type="number"> no longer has an anonymous text input.
Instead, the <input type="number"> itself manages the text.
Previously, the a11y code which fired value change events for text changes only did this for combo boxes and role ENTRY.
This meant a value change event was no longer fired for <input type="number">.
This condition has now been extended to include role SPINBUTTON.
This fixes reporting of <input type="number"> changes for JAWS.

Differential Revision: https://phabricator.services.mozilla.com/D60101

--HG--
extra : moz-landing-system : lando
2020-01-16 04:57:24 +00:00
James Teh b2a45adc2b Bug 1594300: Implement xpcAccessible::TakeFocus for ProxyAccessibles on Windows. r=yzen
1. Implement ProxyAccessible::TakeFocus on Windows.
2. Use this implementation in xpcAccessible::TakeFocus like we do on other platforms.
3. Enable accessible/tests/browser/fission/browser_take_focus.js on Windows, since it now works.

Differential Revision: https://phabricator.services.mozilla.com/D59977

--HG--
extra : moz-landing-system : lando
2020-01-15 14:52:46 +00:00
Emilio Cobos Álvarez fff6c9e1ac Bug 981248 - Rewrite <input type=number> to avoid an anonymous input. r=masayuki,surkov,jwatt,ntim,jfkthame,smaug
Instead, subclass nsTextControlFrame. This simplifies the code and avoids
correctness issues.

I kept the localization functionality though it is not spec compliant. But I
filed a bug to remove it in a followup.

Differential Revision: https://phabricator.services.mozilla.com/D57193

--HG--
extra : moz-landing-system : lando
2020-01-14 19:01:05 +00:00
Mihai Alexandru Michis 0d01c60c37 Backed out 2 changesets (bug 981248) for causing multiple failures.
CLOSED TREE

Backed out changeset 7a96708cc8b7 (bug 981248)
Backed out changeset 1eace7bd28d9 (bug 981248)
2020-01-14 19:28:17 +02:00
Emilio Cobos Álvarez da2e4ef888 Bug 981248 - Rewrite <input type=number> to avoid an anonymous input. r=masayuki,surkov,jwatt,ntim,jfkthame,smaug
Instead, subclass nsTextControlFrame. This simplifies the code and avoids
correctness issues.

I kept the localization functionality though it is not spec compliant. But I
filed a bug to remove it in a followup.

Differential Revision: https://phabricator.services.mozilla.com/D57193

--HG--
extra : moz-landing-system : lando
2020-01-14 15:05:22 +00:00
James Teh 0d23c81e6d Bug 1412401: accessible/tests/mochitest/events/docload/test_docload_root.html: Wait for focus event after opening the dialog. r=MarcoZ
Previously, when opening the dialog, we only waited for a reorder event.
This could mean we programmatically closed the dialog before it was ever focused.
That in turn would mean that focus would never be fired on the previous window when the dialog was closed, causing the close dialog test to time out.

Differential Revision: https://phabricator.services.mozilla.com/D59826

--HG--
extra : moz-landing-system : lando
2020-01-14 06:59:56 +00:00
Eitan Isaacson c676e8c521 Bug 1597916 - Allow frameless containers when dispatching text removed events. r=Jamie
This reverts the change I made in bug 1572811, and instead fixes a much
more narrow case when the inner table frame is mid-construction.

Differential Revision: https://phabricator.services.mozilla.com/D58570

--HG--
extra : moz-landing-system : lando
2020-01-13 01:02:51 +00:00
Alexander Surkov 49360f819d Bug 1601733 - add sjs script into test suite that generates a document from code snippet r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D58992

--HG--
rename : accessible/tests/browser/fission_document_builder.sjs => testing/mochitest/document-builder.sjs
extra : moz-landing-system : lando
2020-01-08 18:41:01 +00:00
Emilio Cobos Álvarez 547c9db8cd Bug 1606130 - Make display: -moz-box more similar to other display types for block layout. r=jfkthame,surkov
It is unexpected (see bug) that a -moz-box is affected by baseline alignment.
Make -moz-box be block-outside, and -moz-inline-box be inline-outside, instead
of the bespoke thing we have now.

This is more similar to everything else, and fixes the bug.

Differential Revision: https://phabricator.services.mozilla.com/D58726

--HG--
extra : moz-landing-system : lando
2020-01-07 21:00:42 +00:00
Bogdan Tara 6571a2a6fb Backed out changeset 23d862866f3a (bug 1606130) for android crashtest complaining about 1547420-1.html 2020-01-07 22:53:10 +02:00
Emilio Cobos Álvarez ff938720a8 Bug 1606130 - Make display: -moz-box more similar to other display types for block layout. r=jfkthame,surkov
It is unexpected (see bug) that a -moz-box is affected by baseline alignment.
Make -moz-box be block-outside, and -moz-inline-box be inline-outside, instead
of the bespoke thing we have now.

This is more similar to everything else, and fixes the bug.

Differential Revision: https://phabricator.services.mozilla.com/D58726

--HG--
extra : moz-landing-system : lando
2020-01-07 18:02:05 +00:00
Hiroyuki Ikezoe b243debf62 Bug 1585239 - Return the Promise for the accessibility document in the function runs in the iframe context. r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D57742

--HG--
extra : moz-landing-system : lando
2019-12-19 06:02:44 +00:00
Mark Banner 6e7cbd3fdb Bug 1602364 - Enable ESLint rule no-undef for xhtml files in accessible/tests/mochitest/. r=MarcoZ
Depends on D56325

Differential Revision: https://phabricator.services.mozilla.com/D56326

--HG--
extra : moz-landing-system : lando
2019-12-09 10:13:15 +00:00
Mark Banner 3de1778045 Bug 1602069 - Enable ESLint no-undef rule for accessible/test/mochitest html files. r=Jamie
Depends on D56230

Differential Revision: https://phabricator.services.mozilla.com/D56231

--HG--
extra : moz-landing-system : lando
2019-12-08 23:59:28 +00:00
Mark Banner fffa61b7b3 Bug 1602069 - Enable ESLint no-undef rule for accessible/test/mochitest js files. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D56230

--HG--
extra : moz-landing-system : lando
2019-12-08 23:52:15 +00:00
Hiroyuki Ikezoe d1e6184f73 Bug 1585239 - Wait for accessibility document ready in iframe. r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D55067

--HG--
extra : moz-landing-system : lando
2019-12-02 09:50:29 +00:00
James Teh c78008bc74 Bug 1600170: accessible/tests/mochitest/text/test_atcaretoffset.html: Set scrollbar-width: none on wrapped textarea. r=MarcoZ
Previously, due to bug 33654, we incorrectly added the width of the scrollbars to the textarea.
This was causing lines to be limited to 6 characters on ubuntu 18.04, even though we set cols="5" and thus expect 5 characters.
Setting scrollbar-width: none on the textarea works around this.

Differential Revision: https://phabricator.services.mozilla.com/D55205

--HG--
extra : moz-landing-system : lando
2019-11-29 05:37:16 +00:00
Taylor 8dd88406ce Bug 1577073 - accessible/tests/mochitest/role/test_aria.html contains XHTML even though the file is HTML. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D55208

--HG--
extra : moz-landing-system : lando
2019-11-29 01:18:07 +00:00
James Teh 8d5f485ca6 Bug 1572677: Correct a11y exposure for HTML elements with associated XUL labels. r=MarcoZ
A XUL <label control="id"> can refer to an HTML element.
Keyboard and mouse support for this already works, but previously, this wasn't being exposed via accessibility APIs.

1. Split the code to get the name from an associated XUL label out of Accessible::XULElmName into a new function Accessible::NameFromAssociatedXULLabel.
2. Use NameFromAssociatedXULLabel for HTMl elements.
3. Update AccessKey and RelationByType to support HTML elements with associated XUL labels.
4. Rename accessible/tests/mochitest/actions/test_keys_menu.xhtml to test_keys.xhtml so it can cover accessKey outside of menus.
5. Add tests.

Differential Revision: https://phabricator.services.mozilla.com/D55057

--HG--
rename : accessible/tests/mochitest/actions/test_keys_menu.xhtml => accessible/tests/mochitest/actions/test_keys.xhtml
extra : moz-landing-system : lando
2019-11-28 06:36:04 +00:00
Yura Zenevich a9fe1ad538 Bug 1594585 - add coverage for b-c tests that run in in-process iframes. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D53654

--HG--
extra : moz-landing-system : lando
2019-11-20 02:31:07 +00:00
Yura Zenevich 8f94829eb1 Bug 1594585 - update wording across accessible b-c tests to differentiate between fission and iframe. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D53653

--HG--
extra : moz-landing-system : lando
2019-11-20 01:24:37 +00:00
Marco Zehe 78545b8343 Bug 982125 - make HTML5 <mark> accessible, r=Jamie
Mark the html:mark element to the new ROLE_MARK, which currently maps the same as role_text, and the xml-role of "mark", make sure we expose the roleDescription on Mac, and adjust the test so it tests that the attributes don't pick up any unexpected color for this particular element. So, the background attribute is empty when there is no unexpected, non-default background color.

Differential Revision: https://phabricator.services.mozilla.com/D52989

--HG--
extra : moz-landing-system : lando
2019-11-18 05:34:15 +00:00
Yura Zenevich 5aa1656c01 Bug 1543575 - add fission specific accessibility tests. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D48583

--HG--
extra : moz-landing-system : lando
2019-11-14 14:53:49 +00:00
Tim Nguyen e9cf7725cf Bug 1576946 - Rewrite and remove tests relying on `display: -moz-stack;`. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D49485

--HG--
extra : moz-landing-system : lando
2019-11-12 19:50:06 +00:00
Dorel Luca 3e49706d2a Backed out changeset a79182facdfb (bug 1543575) for Browser-chrome failure in tools/profiler/tests/browser/browser_test_profile_single_frame_page_info.js 2019-11-10 07:24:03 +02:00
Yura Zenevich e34d04af1f Bug 1543575 - add fission specific accessibility tests. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D48583

--HG--
extra : moz-landing-system : lando
2019-11-09 00:35:09 +00:00
Csoregi Natalia ae540d8dd5 Backed out changeset f5a86c52bec6 (bug 1543575) for failures on browser_hidden_iframe.js. CLOSED TREE 2019-11-08 22:49:33 +02:00
Yura Zenevich fa358b33e6 Bug 1543575 - add fission specific accessibility tests. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D48583

--HG--
extra : moz-landing-system : lando
2019-11-08 18:44:10 +00:00
James Teh 2a10f4812f Bug 1593396: If the content of an embed or object element changes to be web content, recreate as an OuterDocAccessible. r=MarcoZ
If an embed or object doesn't specify a URL (or specifies a URL which isn't web content), it won't be created as an OuterDocAccessible.
For example, an embed with no src will be created as a generic HyperTextAccessible.
If the URL later changes to refer to web content, we must recreate as an OuterDocAccessible.
Previously, we didn't recreate, which was causing an assertion and may have caused other strange issues as well.

Differential Revision: https://phabricator.services.mozilla.com/D52292

--HG--
extra : moz-landing-system : lando
2019-11-08 05:49:46 +00:00
Alexander Surkov 25df793e05 Bug 1589170 - add a test for accessible element insertion under shadow DOM of inaccessible element r=MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D52206

--HG--
extra : moz-landing-system : lando
2019-11-07 18:42:26 +00:00
Yura Zenevich 7c914dd2e8 Bug 1543575 - add coverage for bounds b-c tests with fission enabled. r=Jamie
Depends on D51144

Differential Revision: https://phabricator.services.mozilla.com/D51152

--HG--
extra : moz-landing-system : lando
2019-10-31 00:10:03 +00:00
Yura Zenevich 4a00d94bad Bug 1543575 - add missing resources to browser.ini files to be able to run b-c a11y tests independently. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D51144

--HG--
extra : moz-landing-system : lando
2019-10-31 00:07:58 +00:00
Ehsan Akhgari 5b7ceaf11d Bug 1528115 - Remove support for the hidden private window; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D51099

--HG--
extra : moz-landing-system : lando
2019-10-30 15:35:31 +00:00
James Teh 7d0494adc2 Bug 1585851: When processing a11y insertions, don't try to move an accessible if its new previous sibling hasn't been moved into its new container yet. r=MarcoZ
Sometimes, depending on how children were changed, children might be in the insertion list out of order; e.g. [child2, child1].
It's also possible that an earlier child (child1 in the above example) is being moved out of another container.
When processing the earlier insertion (child2), we'll determine we need to move it within its parent and will fetch its new previous sibling so we can move it into the right place.
However, in this case, the new previous sibling (child1) will be in the wrong container.
We can't move in that case; the new previous sibling's index in parent will obviously be wrong, since it's relative to the wrong container.
Therefore, we just skip the move.
Since the previous sibling (child1) is later in the insertion list, the ordering will be corrected when we process that insertion.

Differential Revision: https://phabricator.services.mozilla.com/D51037

--HG--
extra : moz-landing-system : lando
2019-10-30 06:32:50 +00:00
James Teh 7dfabe9989 Bug 1415667: Always use OuterDocAccessible for iframes, even if an ARIA table role is specified. r=yzen
OuterDocAccessible has some special behaviour.
We really shouldn't try to use some other class for iframes.
Anyway, making an iframe part of an ARIA table won't work for other reasons, plus I'm not sure it makes much sense.

Differential Revision: https://phabricator.services.mozilla.com/D50769

--HG--
extra : moz-landing-system : lando
2019-10-29 14:26:49 +00:00
Emilio Cobos Álvarez 602ba56e1f Bug 1590366 - Remove accessibility.heading-element-level-changes.enabled. r=MarcoZ
Well that was short :D

Differential Revision: https://phabricator.services.mozilla.com/D50047

--HG--
extra : moz-landing-system : lando
2019-10-22 13:51:41 +00:00
Marco Bonardo 9105b2fe51 Bug 1587959 - The userSelectionBehavior property of the urlbar controller may get stale and confuse a11y. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D49725

--HG--
extra : moz-landing-system : lando
2019-10-18 15:55:54 +00:00
Harry Twyford 6c24ba64b2 Bug 1578445 - Add roles and aria attributes to tip elements. r=dao,fluent-reviewers,Gijs,Jamie
Differential Revision: https://phabricator.services.mozilla.com/D47980

--HG--
extra : moz-landing-system : lando
2019-10-17 17:46:01 +00:00