[Webkit-unassigned] [Bug 259977] New: AX: Associated labels not read when one is hidden

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 9 08:34:28 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=259977

            Bug ID: 259977
           Summary: AX: Associated labels not read when one is hidden
           Product: WebKit
           Version: Safari 16
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: theandy500 at aol.com
                CC: andresg_22 at apple.com,
                    webkit-bug-importer at group.apple.com

If you have multiple labels with the same "for" property, but the first one is hidden, VoiceOver on Mac with Safari does not read the visible label (or any label at all). Chrome with VoiceOver works fine.

The below code will read "edit text, blank" in Safari on Ventura 13.5  instead of "Test Two, edit text" as Chrome does. 

<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Test</title>
</head>
<body>
    <label style="display:none" for="test1">Test One</label>
    <label for="test1">Test Two</label>
    <input id="test1" name="test1">
</body>
</html>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230809/f6695bfe/attachment-0001.htm>


More information about the webkit-unassigned mailing list