dequelabs / dequelabs/axe-core

incorrectly flagged ISO 639-3 @lang values

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

Description

### Product

axe-core

### Product Version

version used in EPUBCheck v5.2.1 release. Released 2025-01-14

### Latest Version

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

### Issue Description

#### Expectation
The check would pass all valid ISO 639-3 three letter codes.

#### Actual
The check flagged kir and tuk as invalid language codes when they are valid codes.

#### How to Reproduce
```

Ялкап three letter tuk ISO fails


Ялкап two letter tk ISO passes


bala two letter kir ISO fails


bala two letter ky ISO passes


```

#### Additional context
I posted issue to https://github.com/daisy/ace/issues/440 but they say:
> "This is an issue with Deque Axe which Daisy Ace uses under the hood to perform the accessibility evaluation of individual HTML documents."

The errors only occur in the WCAG 2.0 AA checks.

![Image](https://github.com/user-attachments/assets/ff329f7d-2d86-4802-91dd-6aa0a1cccd4d)

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.