Support ariaBrailleLabel and ariaBrailleRoleDescription reflection
Categories
(Core :: Disability Access APIs, enhancement)
Tracking
()
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)
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:
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
Comment 1•1 year ago
|
||
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.
Assignee | ||
Comment 2•1 year ago
|
||
These aren't currently in the WebIDL interface in the spec. They probably should be, though.
Assignee | ||
Updated•1 year ago
|
Reporter | ||
Comment 3•1 year ago
|
||
Yes sorry, I provided the wrong PR link above. This is the PR on the spec: https://github.com/w3c/aria/pull/2039
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Updated•8 months ago
|
Assignee | ||
Updated•8 months ago
|
Assignee | ||
Comment 4•8 months ago
|
||
Updated•8 months ago
|
Comment 6•8 months ago
|
||
bugherder |
Comment 7•6 months ago
|
||
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.
Description
•