dequelabs / dequelabs/axe-core
Include CSS content property in accessibleText
Open
accessibility support
Accessible text
fix
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 933
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 17
Description
In axe-core 4.5 we deprecated support for IE11. Part of that means we should no longer be failing elements that have their accessible name created from the CSS content property. To do so, axe-core's accessibleText calculation will need to include CSS content. Something like the following should pass the `button-name` rule:
```html
button:before { Content: "Hello world" }
```
Contributor guide
Assessment
This issue has not been assessed yet.