"WebDriver:GetComputedRole" should return WAI-ARIA roles
Categories
(Remote Protocol :: Marionette, defect, P3)
Tracking
(firefox114 fixed)
Tracking | Status | |
---|---|---|
firefox114 | --- | fixed |
People
(Reporter: jdescottes, Assigned: Jamie)
References
(Blocks 1 open bug)
Details
(Whiteboard: [webdriver:m7][webdriver:external][webdriver:relnote])
Attachments
(1 file, 1 obsolete file)
(deleted),
text/x-phabricator-request
|
Details |
As discussed at https://phabricator.services.mozilla.com/D172146#5666525, currently the Accessibility Service APIs used by Marionette do not return WAI-ARIA roles. In order to be used for cross browser tests, we should have a way to retrieve the computed WAI-ARIA role.
For now this leads to 2 wdspec test failures:
- [test_computed_roles[<input role=searchbox>-input-searchbox]]
- [test_computed_roles[<img role=presentation>-img-presentation]]
Comment 1•2 years ago
|
||
Setting need-info for James based on the questions from: https://phabricator.services.mozilla.com/D172146#5668324
Assignee | ||
Comment 3•2 years ago
|
||
We could just use this bug for the a11y engine change if you like. I'm happy either way.
Comment 4•2 years ago
|
||
(In reply to James Teh [:Jamie] from comment #3)
We could just use this bug for the a11y engine change if you like. I'm happy either way.
If the API will change I think it would be good to have a separate bug. Then we can use this bug for the necessary changes in Marionette and for adding potential new webdriver tests.
Comment 5•2 years ago
|
||
James would you mind filing the a11y related bug and mark it as blocker for this one? Thanks!
Assignee | ||
Updated•2 years ago
|
Reporter | ||
Updated•2 years ago
|
Comment 6•2 years ago
|
||
The severity field is not set for this bug.
:whimboo, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 7•2 years ago
|
||
(In reply to Julian Descottes [:jdescottes] from comment #0)
- [test_computed_roles[<img role=presentation>-img-presentation]]
I don't understand this test. I've commented on the (merged) PR asking for clarifcation; see https://github.com/web-platform-tests/wpt/pull/23793/files#r1168123033.
Assignee | ||
Comment 8•2 years ago
|
||
Updated•2 years ago
|
Comment 9•2 years ago
|
||
Bug 1827934 added support for the web-platform-tests here. We see some failures in testing/web-platform/tests/accname/basic.html
which seem likely to be this bug. There are also some failures in testing/web-platform/tests/wai-aria/role/
which are probably this bug, but I'm not sure. Also, testing/web-platform/tests/wai-aria/role/roles.html
has some tests that are intermittent. I haven't investigated deeply, but I wonder if it's possible we're not always waiting for the a11y tree to be ready, or something? Locally when the tests fail we seem to get null
rather than a string role. Maybe that should be a separate bug?
Reporter | ||
Comment 10•2 years ago
|
||
(In reply to James Graham [:jgraham] from comment #9)
Bug 1827934 added support for the web-platform-tests here. We see some failures in
testing/web-platform/tests/accname/basic.html
which seem likely to be this bug.
There are no more failures in accname
after your patch in Bug 1827934, so I guess you meant to only talk about the tests in wai-aria/role
? accname
tests will most likely not be impacted by this bug.
Comment 11•2 years ago
|
||
You are correct, I copied the wrong basic.html
path :) I meant testing/web-platform/tests/wai-aria/role/basic.html
Assignee | ||
Comment 12•2 years ago
|
||
(In reply to James Graham [:jgraham] from comment #9)
testing/web-platform/tests/wai-aria/role/roles.html
has some tests that are intermittent.
I filed bug 1828816 for that.
Updated•2 years ago
|
Comment 13•2 years ago
|
||
Assignee | ||
Comment 14•2 years ago
|
||
Comment 15•2 years ago
|
||
Comment 16•2 years ago
|
||
Backed out for causing multiple failures.
- Pushes with failures - wpt
- Failure Log
- Failure line: TEST-UNEXPECTED-PASS | /html-aam/roles.html | el-address - expected FAIL
- Pushes with failures - mochitests
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | accessible/tests/browser/role/browser_computedARIARole.js | computedARIARole for htmlTbody is correct - Got "group", expected "rowgroup"
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Comment 17•2 years ago
|
||
Comment 18•2 years ago
|
||
bugherder |
Updated•1 years ago
|
Updated•1 years ago
|
Description
•