H58.1 Invalid Language Tags Failure
en-AU-Latn: Script and language in wrong order. Should be "en-Latn-AU"
"x" on its own. Private use section needs data after it.
"i" on its own. Irregular tag identifer needs data after it.
Success Criterion 3.1.2 (Language of Parts) states that the changes in language should be marked
using language attributes to qualify for AA conformance.
This example should test the usage of non-well-formed lang and xml:lang attributes on a normal element. Two errors should appear: one for the lang element and one for the xml:lang.
Expected Errors
- [Standard].Principle3.Guideline3_1.3_1_1.H58.1.*: "The language specified in the <lang | xml:lang> attribute of this element does not appear to be well-formed."
(The "*" represents either "Lang" or "XmlLang" depending on which attribute applies.)
Relevant Success Criteria
Relevant Techniques