Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nargonath/listbox-describedby-bug
- Owner: Nargonath
- License: mit
- Created: 2024-02-18T17:23:08.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-02-18T17:41:08.000Z (9 months ago)
- Last Synced: 2024-02-18T18:42:08.069Z (9 months ago)
- Language: CSS
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`.