axe-core
Version:
Accessibility engine for automated Web UI testing
16 lines (15 loc) • 511 B
JSON
{
"id": "aria-prohibited-attr",
"evaluate": "aria-prohibited-attr-evaluate",
"options": {
"elementsAllowedAriaLabel": ["applet", "input"]
},
"metadata": {
"impact": "serious",
"messages": {
"pass": "ARIA attribute is allowed",
"fail": "ARIA attribute cannot be used, add a role attribute or use a different element: ${data.values}",
"incomplete": "ARIA attribute is not well supported on the element and the text content will be used instead: ${data.values}"
}
}
}