axe-core
Version:
Accessibility engine for automated Web UI testing
15 lines (14 loc) • 393 B
JSON
{
"id": "aria-allowed-role",
"excludeHidden": false,
"selector": "[role]",
"matches": "aria-allowed-role-matches",
"tags": ["cat.aria", "best-practice"],
"metadata": {
"description": "Ensures role attribute has an appropriate value for the element",
"help": "ARIA role should be appropriate for the element"
},
"all": [],
"any": ["aria-allowed-role"],
"none": []
}