UI component name and role (role-and-name)

Each user interface component (e.g., form elements, buttons, links) has a name and/or role attribute.


Invalid role attribute:

This custom checkbox has an invalid role attribute:

(This checkbox has role="table")

Note: Impossible to auto-test. Requires a human tester/AI to determine if a role attribute describes the function of its parent element.

axe detected: 4.1.2  |  QualWeb detected: 1.3.1