dequelabs / dequelabs/axe-core
link-in-text-block does not consider an inline-block as a text block
Open
question
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 933
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 17
Description
### Product
axe-core
### Product Version
4.5.2
### Latest Version
- [X] I have tested the issue with the latest version of the product
### Issue Description
#### Expectation
I would expect the check to fail with this HTML:
```
Text
link
```
This fails if the inline-block is removed, and visually they are both identical.
#### Actual
Passes
#### How to Reproduce
https://codepen.io/dballesteros7/pen/mdjreWM
#### Additional context
This allows to easily/unintentionally skip the check for inline blocks of text.
Contributor guide
Assessment
This issue has not been assessed yet.