Bug 279256

Summary: REGRESSION: Children of HTML label element are read twice by VoiceOver
Product: WebKit Reporter: Matyas <forianszm>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: andresg_22, klh, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 17   
Hardware: Mac (Apple Silicon)   
OS: macOS 14   
See Also: https://bugs.webkit.org/show_bug.cgi?id=191743
https://bugs.webkit.org/show_bug.cgi?id=230824

Matyas
Reported 2024-09-06 03:00:45 PDT
Label is permitted to have phrasing content as children: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label#technical_summary , but Safari reads its children erroneously twice. VoiceOver reads every child twice, an example: <label for="testid2"> <span>this is read twice in Safari and FF</span> <input type="text" id="testid2" placeholder="test2" /> </label> same in CodeSandbox: https://codesandbox.io/p/sandbox/727pzq OSX 14.6.1, Safari 17.6 Ps: This looks like a reintroduction of this fixed bug: https://bugs.webkit.org/show_bug.cgi?id=191743
Attachments
Radar WebKit Bug Importer
Comment 1 2024-09-07 11:47:26 PDT
Klaus
Comment 2 2024-09-07 11:50:43 PDT
Note You need to log in before you can comment on or make changes to this bug.