Skip to content

When thinking what to track, consider also this test case: #1

@vovachello

Description

@vovachello

When thinking what to track, consider also this test case:

  <label for="slotted-input">out-of-shadow label</label>
  <level-a-custom-elm>
    <template shadowrootmode="open">
      <label for="slotted-input">shadow level A label</label>
      <level-b-custom-elm>
        <template shadowrootmode="open">
          <label for="slotted-input">shadow level B label</label>
          <slot></slot>
        </template>
        <slot></slot>
      </level-b-custom-elm>
    </template>
    <!-- Accessible name is "out-of-shadow label" -->
    <input id="slotted-input"></input>
  </level-a-custom-elm>

Originally posted by @dbjorge in dequelabs/axe-core#4844 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions