dequelabs / dequelabs/axe-core
Focusable img elements should fail if they have an empty alt
Open
feat
rules
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 933
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 17
Description
I think it would be good if axe-core distinguished between focusable images and non-focusable ones. For example, I think the following should fail:
```html
```
To do this, we'd need to split up the image-alt rule. Maybe exclude focusable images from it and have those tested in a separate img-alt-focusable rule?
Contributor guide
Assessment
This issue has not been assessed yet.