Bug 214330

Summary: AX: Inteterminate progressbar reading as 50% with Voiceover
Product: WebKit Reporter: James Nurthen <nurthen>
Component: AccessibilityAssignee: chris fleizach <cfleizach>
Status: RESOLVED FIXED    
Severity: Normal CC: aboxhall, apinheiro, cfleizach, dmazzoni, ews-watchlist, jcraig, jdiggs, samuel_white, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Safari 13   
Hardware: iPhone / iPad   
OS: All   
Attachments:
Description Flags
patch
none
patch
none
patch none

Description James Nurthen 2020-07-14 16:12:29 PDT
Indeterminate progress bars are reading as 50% with Voiceover on iOS. Can reporoduce on iOS 13 and iPadOS 14.0(18A5319i)

Find sample code at https://react-spectrum.adobe.com/react-spectrum/ProgressCircle.html under the code sample
<ProgressCircle aria-label="Loading…" isIndeterminate />


This renders as
<div aria-label="Loading…" aria-valuemin="0" aria-valuemax="100" role="progressbar" ...>
  ...
</div>

On MacOS this reads as "Loading... indeterminate progress bar"

on iOS/iPadOS it reads as "Loading... 50%"

The absence of aria-valuenow is meant to trigger the fact that this is an indeterminate progress bar.
Comment 1 Radar WebKit Bug Importer 2020-07-14 16:12:46 PDT
<rdar://problem/65570800>
Comment 2 chris fleizach 2020-07-14 16:25:38 PDT
Created attachment 404302 [details]
patch
Comment 3 chris fleizach 2020-07-14 16:26:10 PDT
Created attachment 404303 [details]
patch
Comment 4 chris fleizach 2020-07-14 16:26:49 PDT
Created attachment 404304 [details]
patch
Comment 5 EWS 2020-07-31 10:27:52 PDT
Committed r265148: <https://trac.webkit.org/changeset/265148>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 404304 [details].