axe-core
Version:
Accessibility engine for automated Web UI testing
17 lines (16 loc) • 670 B
JSON
{
"id": "presentational-role",
"evaluate": "presentational-role-evaluate",
"metadata": {
"impact": "minor",
"messages": {
"pass": "Element's default semantics were overriden with role=\"${data.role}\"",
"fail": {
"default": "Element's default semantics were not overridden with role=\"none\" or role=\"presentation\"",
"globalAria": "Element's role is not presentational because it has a global ARIA attribute",
"focusable": "Element's role is not presentational because it is focusable",
"both": "Element's role is not presentational because it has a global ARIA attribute and is focusable"
}
}
}
}