theme: Code and Labels
Technical markup and naming conventions that help assistive tech understand the page.
3.1.2 Language of Parts
Any parts of the page that are in a different language to the page itself are marked up with the appropriate lang value. Names and phrases derived from other languages, like “Déjà vu” in English, don’t need this.
3.2.2 On Input
Nothing unexpected happens when a form field value is selected, like picking an option from a dropdown menu.
3.3.2 Labels or Instructions
Provide enough help to prevent form errors—sometimes the label is enough, but hint text or instructions might also be needed.
4.1.1 Parsing
The markup has been validated and there are no errors, such as duplicate ids, missing tags, and invalid child elements.
4.1.2 Name, Role, Value
The semantic meaning of every interactive element (form controls, links, headings, landmarks, tables, and so on) is correct, and each has an accessible name.
4.1.3 Status Messages
Messages like form errors and success pop-ups are communicated to assistive technology like screen readers.