RESOLVED FIXED 254102
AX: Form controls take the AX text of an ancestor label over their own inner text
https://bugs.webkit.org/show_bug.cgi?id=254102
Summary AX: Form controls take the AX text of an ancestor label over their own inner ...
Tyler Wilcock
Reported 2023-03-17 20:27:08 PDT
Given this HTML: <fieldset> <label for="captchaAnswer"> <h6>Enter the characters in the image below.</h6> <button>Switch to audio</button> <button>Try another</button> <input type="text" name="captchaAnswer"/> </label> </fieldset> VoiceOver reads "Enter the characters in the image below." when focusing both buttons, rather than either "Switch to audio" or "Try another". Neither Chrome nor Firefox have the same issue.
Attachments
Patch (7.59 KB, patch)
2023-03-18 10:42 PDT, Tyler Wilcock
no flags
Patch (8.40 KB, patch)
2023-03-19 01:32 PDT, Tyler Wilcock
no flags
Radar WebKit Bug Importer
Comment 1 2023-03-17 20:27:17 PDT
Tyler Wilcock
Comment 2 2023-03-18 10:36:26 PDT
Tyler Wilcock
Comment 3 2023-03-18 10:42:39 PDT
Tyler Wilcock
Comment 4 2023-03-19 01:32:33 PDT
Tyler Wilcock
Comment 5 2023-03-19 01:34:09 PDT
I added "Reviewed by Chris Fleizach" to this patch because Chris gave an approving review in Slack but noted he couldn't r+ due to missing Bugzilla UI.
EWS
Comment 6 2023-03-19 12:28:38 PDT
Committed 261843@main (1c62bc2631a3): <https://commits.webkit.org/261843@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 465500 [details].
Note You need to log in before you can comment on or make changes to this bug.