dequelabs / dequelabs/axe-core
incorrectly flagged ISO 639-3 @lang values
- 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.

Contributor guide
Assessment
This issue has not been assessed yet.