Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nargonath/listbox-describedby-bug

Repository for bug report on headlessui listbox and aria-describedby
https://github.com/nargonath/listbox-describedby-bug

Last synced: 26 days ago
JSON representation

Repository for bug report on headlessui listbox and aria-describedby

Awesome Lists containing this project

README

        


Listbox bug with aria-describedby repro


Repo to reproduce a bug with aria-describedby and Listbox from headlessui


# Usage

- Run `npm i`
- Run `npm run dev`

Inspect the DOM. You'll see that the `aria-describedby` attribute assigned to the `Listbox` component is assigned to the `div` parent element but I believe it should be assigned to the `input[type="hidden"]` when a `name` is passed to `Listbox`.