dequelabs / dequelabs/axe-core
Update accName calculation (fallback to title when alt="")
Open
fix
standards
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 933
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 17
Description
The following should pass:
```html
```
I came across an image like this (although without the button) today. Testing this in Chrome, Safari and Firefox this seems to work. I recall the spec about how empty props are handled changing a while ago. It is possible that a similar thing now works for `aria-label=""` as well, as part of this we should test that too. I haven't confirmed this in actual AT so we'll want to do some screen reader testing to make sure as well. Just because devtools says something has a label doesn't mean screen readers will accept that.
Contributor guide
Assessment
This issue has not been assessed yet.