Closed Bug 1859211 Opened 1 year ago Closed 1 year ago

Align ARIA reflection WebIDL with the structure defined in the spec

Categories

(Core :: Disability Access APIs, task)

task

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: Jamie, Assigned: Jamie)

References

(Blocks 2 open bugs)

Details

(Keywords: good-first-bug)

Attachments

(1 file)

Spun off https://phabricator.services.mozilla.com/D190751#inline-1058647.

Currently, we have AriaAttributes.webidl and AccessibilityRole.webidl in dom/webidl. The spec combines these into ARIAMixin.webidl. We should merge our webidl files so that they are aligned with the spec.

The spec's WebIDL includes element reflection, which we don't support yet. From Edgar:

it is fine that an interface implement only part of attributes/methods. Generally, we still list the unimplemented attributes/methods but comment them out, e.g. https://searchfox.org/mozilla-central/rev/6e5b9a5a1edab13a1b2e2e90944b6e06b4d8149c/dom/webidl/CSSFontFeatureValuesRule.webidl#18. :)

Blocks: 1861201
Keywords: good-first-bug

:twisniewski, why do you think this will help us pass that test? This bug is just about merging the two webidl files we have into a single webidl so that it's closer to the spec. However, it's purely cosmetic; it's not about implementing anything we don't already implement.

Note that the *Element* methods are part of ARIA element reflection, which should have been excluded from Interop 2024. ariaBrailleLabel/Description is covered by bug 1861201.

Flags: needinfo?(twisniewski)

:Jamie, ah, that was just my naivete showing. We'll want want to confirm why the tests ended up on interop2024 in that case.

Flags: needinfo?(twisniewski)

Yup, I'm asking about that. I'll update here when I learn more.

It isn't excluded. We plan to work on element reflection in h2. But this bug is still mostly just cosmetic. The real element reflection work is tracked in bug 1878816.

No longer blocks: interop-2024-accessibility
Assignee: nobody → jteh
Blocks: 1769586
Pushed by jteh@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fcdb3e9046c6 Merge AccessibilityRole and AriaAttributes interfaces into ARIAMixin.webidl to align with the spec. r=nlapre,webidl,edgar
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: