Identify the purpose of fields programmatically
Tyne and Wear Fire and Rescue Service
From: WCAG 2.1 AA 1.3.5
To comply with WCAG 2.1, fields must identify what their purpose is programmatically. If done correctly, this allows browsers to help users fill in forms with known information, such as their name and email address.