Exclude from a11y-checks two tests that are clicking web content in the Dom:Events
Categories
(Core :: Disability Access APIs, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox123 | --- | fixed |
People
(Reporter: ayeddi, Assigned: ayeddi)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
Patch D195926 revealed, that when either of these in-content buttons are clicked and the content menu with a button Paste
appears, the target that this click event is sent to by promiseClickContentToTriggerClipboardRead
is (one of these two) <button>
but the AccessibilityUtils gets it as <browser>
and thus fails the test
Try run with WIP debug output
Assignee | ||
Comment 1•1 year ago
|
||
a11y-check Tests affected:
dom/events/test/clipboard/browser_navigator_clipboard_read.js
- Node is not accessible via accessibility API forbrowser
dom/events/test/clipboard/browser_navigator_clipboard_readText.js
- Node is not accessible via accessibility API forbrowser
Assignee | ||
Comment 2•1 year ago
|
||
We do not want to test arbitrary web content, since we do not support remote documents like in-content elements, Shopping sidebar and New Tab at the moment.
These tests would need to be excluded via setEnv
.
Assignee | ||
Comment 3•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Comment 5•1 year ago
|
||
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 these tests via setEnv
.
Note: the fail-if
notation was removed from the dom/events/test/clipboard/browser_navigator_clipboard_read.js
test manifest in the part 1 of the patch, in D196999.
Comment 6•1 year ago
|
||
Comment on attachment 9370753 [details]
Bug 1869322 - Pt.2. Add exceptions from a11y_checks for dom/events/test/clipboard/browser_navigator_clipboard_read.js tests clicking web content in Dom:Events. r=edgar
Revision D197522 was moved to bug 1872719. Setting attachment 9370753 [details] to obsolete.
Comment 7•1 year ago
|
||
bugherder |
Description
•