dequelabs / dequelabs/axe-core

Inline link contrast - inconsistency depending on the text content of the link.

Open
#4,314 6 comments 0 reactions 0 assignees View on GitHub
rules
Dominant language
JavaScript
Stars
7.5k
Forks
933
Avg merge
2d 23h
Merged PRs (30d)
17

Description

### Product

axe-core

### Product Version

4.8.2

### Latest Version

- [X] I have tested the issue with the latest version of the product

### Issue Description

#### Expectation
The product reported both commentor names in the same way, either passed or failed.
#### Actual
One of the commentor name is reported (name = 123), while the other is not (name = Christopher W.).

#### How to Reproduce
This is the original situation where I found out this inconsistency (working on xwiki-platform accessibility):
![InlineLinkDetection2](https://github.com/dequelabs/axe-core/assets/28761965/2af0de55-766e-40e3-9543-31564ce9bc25)
![InlineLinkDetection1](https://github.com/dequelabs/axe-core/assets/28761965/7f4cf586-b6ee-469d-a451-84aa7986ae4b)

#### Additional context
The bug here is the inconsistency.

After checking a bit further, it seems like the violation is only reported when the anchor content does start with a number and not a letter.

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.