Support other aria-haspopup values besides "true"
Categories
(Core :: Disability Access APIs, defect, P1)
Tracking
()
People
(Reporter: eeejay, Assigned: morgan)
Details
(Whiteboard: [mac2020_1])
Attachments
(3 files)
STR:
- Open https://a11ysupport.io/tests/html/aria/aria-haspopup_examples.html
- Navigate to buttons
Result:
Only aria-haspopup=true is reported as a "menu button"
Expected:
The buttons with aria-haspopup should specify the type of popup
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
We should also do state caching here if we can do it.
Reporter | ||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Comment 5•5 years ago
|
||
Backed out for linting failure on browser_aria_haspopup.js
backout: https://hg.mozilla.org/integration/autoland/rev/86285e58162d06746998e375c721e2a58e343e53
failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=300282590&repo=autoland&lineNumber=111
[task 2020-04-30T20:30:27.388Z] TEST-UNEXPECTED-ERROR | /builds/worker/checkouts/gecko/accessible/tests/browser/mac/browser_aria_haspopup.js:14:22 | Parameter 'aState' uses Hungarian Notation, consider using 'state' instead. (mozilla/no-aArgs)
[task 2020-04-30T20:30:27.388Z] TEST-UNEXPECTED-ERROR | /builds/worker/checkouts/gecko/accessible/tests/browser/mac/browser_aria_haspopup.js:14:30 | Parameter 'aIsExtraState' uses Hungarian Notation, consider using 'isExtraState' instead. (mozilla/no-aArgs)
[task 2020-04-30T20:30:27.388Z] TEST-UNEXPECTED-ERROR | /builds/worker/checkouts/gecko/accessible/tests/browser/mac/browser_aria_haspopup.js:14:45 | Parameter 'aIsEnabled' uses Hungarian Notation, consider using 'isEnabled' instead. (mozilla/no-aArgs)
[task 2020-04-30T20:30:27.388Z] TEST-UNEXPECTED-ERROR | /builds/worker/checkouts/gecko/accessible/tests/browser/mac/browser_aria_haspopup.js:14:57 | Parameter 'aTarget' uses Hungarian Notation, consider using 'target' instead. (mozilla/no-aArgs)
[task 2020-04-30T20:30:27.388Z] TEST-UNEXPECTED-ERROR | /builds/worker/checkouts/gecko/accessible/tests/browser/mac/browser_aria_haspopup.js:33:3 | Parameter 'aID' uses Hungarian Notation, consider using 'iD' instead. (mozilla/no-aArgs)
[task 2020-04-30T20:30:27.388Z] TEST-UNEXPECTED-ERROR | /builds/worker/checkouts/gecko/accessible/tests/browser/mac/browser_aria_haspopup.js:34:3 | Parameter 'aARIAAttr' uses Hungarian Notation, consider using 'aRIAAttr' instead. (mozilla/no-aArgs)
Comment 6•5 years ago
|
||
Comment 8•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/91c7b2a3be82
https://hg.mozilla.org/mozilla-central/rev/ab4e2bb58229
Reporter | ||
Comment 9•5 years ago
|
||
Morgan I tested this with VO and the STR above and I don't see this working. I suspect this has to do with the fact that we don't advertise AXHasPopup on buttons (because of the override in mozButtonAccessible
.
Also, I think the actual value of aria-haspopup needs to go in AXPopupValue
for this to work (and AXHasPopup
needs to just be true or false).
Reporter | ||
Comment 10•5 years ago
|
||
Until the STR above is fixed I think this needs to be reopened.
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 11•5 years ago
|
||
(In reply to Eitan Isaacson [:eeejay] from comment #9)
Morgan I tested this with VO and the STR above and I don't see this working. I suspect this has to do with the fact that we don't advertise AXHasPopup on buttons (because of the override in
mozButtonAccessible
.Also, I think the actual value of aria-haspopup needs to go in
AXPopupValue
for this to work (andAXHasPopup
needs to just be true or false).
will do but
how did my test pass..? 🤕
Assignee | ||
Comment 12•5 years ago
|
||
Comment 13•5 years ago
|
||
Comment 14•5 years ago
|
||
bugherder |
Comment 15•5 years ago
|
||
The patch landed in nightly and beta is affected.
:morgan, is this bug important enough to require an uplift?
If not please set status_beta
to wontfix
.
For more information, please visit auto_nag documentation.
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 16•5 years ago
|
||
Confirmed issue with 77.0.1.
Fix verified with 78.0b7 on macOS 10.15.5.
Description
•