Identify the purpose of fields programmatically
Institue of Art, Design, and Technology Dun Laoghaire
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.