Skip to content

Page breaks with compound aria-labelledby example #214

@timkindberg

Description

@timkindberg

Bug Report 🐛

Playground crashes when attempting to target an input with multiple labels used in aria-labelledby

To Reproduce ✔️

  1. Paste this into the HTML box
<div id="a">One</div>
<div id="b">Two</div>
<input
  type="text"
  aria-labelledby="a b"
/>

There are various ways to trigger the crash

  1. Click the input in the preview
  2. Try to manually construct a valid selector in the bottom left panel

Expected behavior 🤔

No crash

Suggested solution 🔦

Error suggests that maybe you are constructing a selector that causes the issue:
image

Your Environment 💻

  • browser: Chrome
  • os: Mac

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions