dequelabs / dequelabs/axe-core

link-in-text-block does not consider an inline-block as a text block

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

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.