dequelabs / dequelabs/axe-core
axe-core inconsistently raises link-in-text-block depending on viewport size
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 933
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 17
Description
### Product
axe-core
### Product Version
4.6.3
### Latest Version
- [X] I have tested the issue with the latest version of the product
### Issue Description
#### Expectation
Consistently raise `link-in-text-block`.
#### Actual
Raises `link-in-text-block` at some viewport sizes by not others.
#### How to Reproduce
Here is a minimal example to use: https://codepen.io/thuey/full/MWBdgWY
Large viewport:
1. Set the viewport to 900x900
2. Run axe-core
3. Violations include `link-in-text-block`
Small viewport:
1. Set the viewport to 500x500.
2. Run axe-core
3. Violations do not include `link-in-text-block`
#### Additional context
`
It seems to only happen when the link is contained within a ``, which is in turn contained within a `
Contributor guide
Assessment
This issue has not been assessed yet.