dequelabs / dequelabs/axe-core
target-size rule should be applicable to nodes in the body element
Open
false negative
fix
target-size
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 933
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 17
Description
When you put a link directly in the body of a page, target-size considers it inapplicable:
```html
```
Weirdly, this doesn't seem to happen with `button`. It looks like this has something to do with the `isInTextBlock` method.
Contributor guide
Assessment
This issue has not been assessed yet.