0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-06 22:10:10 -05:00
astro/.changeset/swift-coats-teach.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
419 B
Markdown
Raw Normal View History

---
"astro": patch
---
Fixes a false positive for `div` and `span` elements when running the Dev Toolbar accessibility audits.
Those are special elements that don't have an interaction assigned by default. Instead, it is assigned through the `role` attribute. This means that cases like the following are now deemed correct:
```html
<div role="tablist"></div>
<span role="button" onclick="" onkeydown=""></span>
```