[Webkit-unassigned] [Bug 254934] New: AX: Slot elements referenced with aria-labelledby have no label

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 3 12:09:42 PDT 2023


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

            Bug ID: 254934
           Summary: AX: Slot elements referenced with aria-labelledby have
                    no label
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: clshortfuse at gmail.com
                CC: andresg_22 at apple.com,
                    webkit-bug-importer at group.apple.com

When using a ShadowDOM, an HTMLInputElement that references an HTMLSlotElement will not provide a label, unless that HTMLSlotElement has a display property other than "contents" (eg: inline-block).

See ShadowDOM tests 13 & 14 in this codepen: https://codepen.io/shortfuse/pen/PodMYBo

There are other bugs noted on the CodePen, but I'd like to specifically target this one related to HTMLSlotElement.

Sample tree:

<x-button>
  #shadow-root
    <input type=button aria-labelledby=slot>
    <slot id=slot></slot>
</x-button>

-- 
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/20230403/f4382647/attachment.htm>


More information about the webkit-unassigned mailing list