mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
13 lines
419 B
Markdown
13 lines
419 B
Markdown
|
---
|
||
|
"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>
|
||
|
```
|