Skip to content

target-size must check whether nearby elements are obscured #4387

Closed
@WilcoFiers

Description

The "Accept all cookies" link should not fail. The nearby "go to top" link is obscured:

<div style="position: fixed; bottom: 0">
  <a href="#">Go to top</a>
</div>
<div style="position: fixed; bottom: 0; left: 0; right: 0; background: #eee">
  Cookies: <a href="#">Accept all cookies</a>
</div>

Note There are open issues related to this. Review them and keep them in mind when working on this.

Metadata

Assignees

Labels

fixBug fixesrulesIssue or false result from an axe-core rulesupporttarget-size

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions