Bug 279256
| Summary: | REGRESSION: Children of HTML label element are read twice by VoiceOver | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Matyas <forianszm> |
| Component: | Accessibility | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/135479312>
Klaus
see https://bugs.webkit.org/show_bug.cgi?id=230824