Closed
Bug 1773930
Opened 3 years ago
Closed 3 years ago
[CTW] Expose xml-roles on cached RemoteAccessible
Categories
(Core :: Disability Access APIs, task)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
103 Branch
Tracking | Status | |
---|---|---|
firefox103 | --- | fixed |
People
(Reporter: Jamie, Assigned: Jamie)
References
Details
(Whiteboard: [ctw-m2])
Attachments
(1 file)
Clients need the xml-roles object attribute to get access to the raw ARIA role for cases where Role() doesn't return sufficient information; e.g. landmarks. In most cases, we can just derive this from the role map index, which we already send. However, the role attribute is technically a list of tokens, so it could include multiple roles or roles unknown to Gecko.
Assignee | ||
Comment 1•3 years ago
|
||
This also changes LocalAccessible::Attributes to ignore the edge case of an empty role attribute when calculating xml-roles.
This is consistent with how we handle the role attribute elsewhere (see aria::GetRoleMapIndex) and makes it easier to handle this consistently between local and remote.
Pushed by jteh@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b0aa1d65dad5
Expose xml-roles object attribute on cached RemoteAccessible. r=morgan
Comment 3•3 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox103:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•