Open Bug 1907887 Opened 1 year ago Updated 1 year ago

Custom elements with role="progressbar" should be able to switch between determinate and indeterminate states

Categories

(Core :: Disability Access APIs, defect)

Firefox 128
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."

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

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.

Blocks: aria
Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Blocks: eventa11y
You need to log in before you can comment on or make changes to this bug.