WCAG Success Criteriawcag-2.2-A
WCAG 4.1.2: Name, Role, Value
WCAG 4.1.2 requires that all user interface components have a programmatically determinable name and role, and that states, properties, and values can be both read and set by assistive technologies. This ensures screen readers and other tools can accurately identify, describe, and interact with every element on the page.