Custom elements with role="progressbar" should be able to switch between determinate and indeterminate states
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
People
(Reporter: abissieregrote, Unassigned)
References
(Blocks 2 open bugs)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Steps to reproduce:
Custom elements with role="progressbar" should be able to switch between determinate and indeterminate states. Determinate state is set by the ElementInternals.ariaValueNow property. Setting the ariaValueNow property to null should remove the value so the element can be recognized as indeterminate.
See jsfiddle example: https://jsfiddle.net/audrey_bee/4xymr57q/16/
Actual results:
VoiceOver announces "50% progress indicator."
Expected results:
VoiceOver should announce "indeterminate progress indicator."
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.
Comment 2•1 year ago
|
||
Thanks for reporting. I can confirm this.
Implementation note: we need to fire a state change for the indeterminate state when aria-valuenow (or its ElementInternals equivalent) is added or removed (but not changed) so that the RemoteAccessible cache gets updated correctly.
Description
•