Closed Bug 1861201 Opened 6 months ago Closed 2 months ago

Support ariaBrailleLabel and ariaBrailleRoleDescription reflection

Categories

(Core :: Disability Access APIs, enhancement)

Firefox 121
enhancement

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: nlawson, Assigned: Jamie)

References

(Blocks 3 open bugs)

Details

(Keywords: dev-doc-complete, good-first-bug)

Attachments

(2 files)

Attached file repro.html

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36

Steps to reproduce:

  1. Go to https://codepen.io/nolanlawson-the-selector/pen/abXOKBO

Actual results:

The attributes aria-braillelabel and aria-brailleroledescription should reflect with the properties ariaBrailleLabel and ariaBrailleRoleDescription respectively.

Expected results:

The attributes do not reflect. Minimal repro:

const elm = document.createElement('div');

elm.ariaBrailleLabel = 'foo'
elm.ariaBrailleRoleDescription = 'bar'

console.log('aria-braillelabel', elm.getAttribute('aria-braillelabel')) // should be 'foo'
console.log('aria-brailleroledescription', elm.getAttribute('aria-brailleroledescription'))  // should be 'bar'

In Firefox, these log null rather than "foo"/"bar" respectively.

ARIA PR: https://github.com/w3c/aria/pull/2057
WPT PR: https://github.com/web-platform-tests/wpt/pull/42751

The Bugbug bot thinks this bug should belong to the 'Core::Disability Access APIs' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Disability Access APIs
Product: Firefox → Core

These aren't currently in the WebIDL interface in the spec. They probably should be, though.

Blocks: aria
Type: defect → enhancement
Status: UNCONFIRMED → NEW
Depends on: 1859211
Ever confirmed: true

Yes sorry, I provided the wrong PR link above. This is the PR on the spec: https://github.com/w3c/aria/pull/2039

Keywords: good-first-bug
Blocks: a11y-wpt
Blocks: 1874329
No longer depends on: 1874329
Assignee: nobody → jteh
Status: NEW → ASSIGNED
Pushed by jteh@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/39a01d2cb3e3
Support ariaBrailleLabel and ariaBrailleRoleDescription IDL attributes. r=webidl,smaug
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch

FF125 MDN docs work for this tracked in https://github.com/mdn/content/issues/32776. Note, if you do work and MDN documentation is needed, please add the dev-doc-needed keyword. We then replace this with dev-doc=complete when the work is complete.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: