dequelabs / dequelabs/axe-core

target-size rule should be applicable to nodes in the body element

Open
#3,739 3 comments 0 reactions 0 assignees View on GitHub
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

link

```

Weirdly, this doesn't seem to happen with `button`. It looks like this has something to do with the `isInTextBlock` method.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.