act-rules / act-rules.github.io

Accessibility conformance testing rules for HTML
https://act-rules.github.io/
Other
131 stars 67 forks source link

Introduce rule that checks for potential issues when non-primary language subtags don't match between `lang` and `xml:lang` attributes #999

Closed kasperisager closed 3 years ago

dd8 commented 4 years ago

Here's test data on non-primary language region subtags https://qa.powermapper.com/Tests/ACT-R/primary-ext-lang.html

In addition to Cantonese/Mandarin there may be similar issues with pt-PT and pt-BR. European Portuguese speakers find Brazilian Portuguese easy, but some Brazilian Portuguese speakers find European Portuguese hard to understand: https://youtu.be/wfs_PNA_R-M?t=95

WilcoFiers commented 3 years ago

Closing, since nobody has picked this up.