mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
79ffa5d9f7
* fix(dev-toolbar): false positive in Audit with a11y check on labels * test: add e2e test for a11y audit on labelable elements * docs: complete changeset to explain why this is a problem
394 B
394 B
astro |
---|
patch |
Fixes a false positive reported by the dev toolbar Audit app where a label was considered missing when associated with a button
The button
element can be used with a label (e.g. to create a switch) and should not be reported as an accessibility issue when used as a child of a label
.