Bug 266456 - AX: Change to element's aria-describedby value doesn't update its announced description
Summary: AX: Change to element's aria-describedby value doesn't update its announced d...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Safari 17
Hardware: iPhone / iPad iOS 17
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-12-14 21:00 PST by Darin Senneff
Modified: 2023-12-14 21:02 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Senneff 2023-12-14 21:00:14 PST
When using iOS Safari + VoiceOver (17.2): if an item has a description set via the 'aria-describedby' attribute, and then the value of 'aria-describedby' changes, the item's announced description doesn't update.

Steps to reproduce:
1. Visit test link in iOS Safari with VoiceOver: https://codepen.io/dsenneff/pen/xxMoReR/b0a1de7d369927086875385bbe2139cd?editors=1010
2. Navigate to the 'apple' button and hear the announcement: 'apple, description fruit'. Observe in devtools that the item's 'aria-describedby' value points to the 'fruit' element.
3. Activate the button, which swaps its 'aria-describedby' value. Observe in devtools that the item's 'aria-describedby' value does change to point to the 'vegetable' element.
4. Navigate away from the button, then back to it and hear the original announcement: 'apple, description fruit'

The button's announcement should change to reflect the updated description, 'apple, description vegetable', but it does not.

Other browser + screen reader combinations do update the element's description, including MacOS Safari + VoiceOver.
Comment 1 Radar WebKit Bug Importer 2023-12-14 21:00:30 PST
<rdar://problem/119703619>