WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
179943
AX: Updated aria-label not read by VoiceOver
https://bugs.webkit.org/show_bug.cgi?id=179943
Summary
AX: Updated aria-label not read by VoiceOver
kelly.tabler
Reported
2017-11-22 06:10:50 PST
When the aria-label of an item is updated, VoiceOver continues to read the ‘old’ value. An example of this is in the following fiddle:
https://jsfiddle.net/7rwpd0wL/3/
Click the ‘Push me’ button and you’ll see that both the text and aria-label of the div have been updated. However, iOS VoiceOver will continue to read “aria label one”, not “aria label two”. The real-world scenario I am seeing this as an issue in involves updating a re-used header as different portions of the page are changed. There are ways to make it work, but involve restructuring the page to not re-use elements. Re-using should is valid html/js and should be permitted.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2017-11-22 06:11:07 PST
<
rdar://problem/35667159
>
Derk-Jan Hartman
Comment 2
2022-10-23 04:36:11 PDT
Just a note that this is sadly still a problem (on both macOS and iOS) Safari 16 with macOS 12.6 VoiceOver still reproduces
Tyler Wilcock
Comment 3
2022-12-02 10:23:18 PST
(In reply to Derk-Jan Hartman from
comment #2
)
> Just a note that this is sadly still a problem (on both macOS and iOS) > > Safari 16 with macOS 12.6 VoiceOver still reproduces
Could you tell me how you reproduced this? When I click the button in the linked JSFiddle, nothing happens (neither the aria-label nor the div update).
Derk-Jan Hartman
Comment 4
2022-12-03 08:10:44 PST
I recently updated to Safari 16.1 and macOS 13.0.1 and now can no longer reproduce this problem. The fiddle here seems broken btw, I created a new one here.
https://jsfiddle.net/TheDJ/kvLhytmq/1/
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug