Add an exception from a11y_checks for a click on a web content in Desktop UI
Categories
(Firefox :: General, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox123 | --- | fixed |
People
(Reporter: ayeddi, Assigned: ayeddi)
References
(Blocks 1 open bug)
Details
(Keywords: access)
Attachments
(1 file)
The browser/base/content/test/forms/browser_selectpopup_large.js
sends a click outside on a web content. We do not want to test arbitrary web content, since we do not support remote documents like in-content elements with a11y_checks of browser mochitests at the moment, thus we add an exception from the a11y_checks for this tests via setEnv
and remove the fail-if
notation from its test manifest.
A11y_checks output is the following:
Result Path Error El ID El tagName El className Stack trace
FAIL browser/base/content/test/forms/browser_selectpopup_large.js Interactive elements must be labeled ContentSelectDropdown menulist "
chrome://mochikit/content/browser-test.js:test_ok:1583
chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:a11yFail:339
chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:assertLabelled:510
chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:assertCanBeClicked:670
chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:runIfA11YChecks/this.AccessibilityUtils:635
chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:handleClick:751
chrome://mochikit/content/tests/SimpleTest/EventUtils.js:synthesizeMouseAtPoint:621
chrome://mochitests/content/browser/browser/base/content/test/forms/browser_selectpopup_large.js:performLargePopupTests:177
chrome://mochitests/content/browser/browser/base/content/test/forms/browser_selectpopup_large.js:test_large_popup:300
chrome://mochikit/content/browser-test.js:handleTask:1134
chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1206
chrome://mochikit/content/browser-test.js:Tester_execTest:1348
chrome://mochikit/content/browser-test.js:nextTest/<:1123
chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
"
Assignee | ||
Comment 1•5 months ago
|
||
The browser/base/content/test/forms/browser_selectpopup_large.js
sends a click outside on a web content. We do not want to test arbitrary web content, since we do not support remote documents like in-content elements with a11y_checks of browser mochitests at the moment, thus we add an exception from the a11y_checks for this tests via setEnv
and remove the fail-if
notation from its test manifest.
Assignee | ||
Comment 2•5 months ago
|
||
The same exception is needed for the browser/base/content/test/forms/browser_selectpopup_toplevel.js
- <select>
element - in Desktop UI tests that is also failing the labelRule
of a11y_checks.
Updated•5 months ago
|
Pushed by ayeddi@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c7be36ee0f24 Add an exception from a11y_checks for clicks on a web content in Desktop UI mochitests. r=mconley
Comment 4•5 months ago
|
||
bugherder |
Description
•