UNPKG

axe-core

Version:

Accessibility engine for automated Web UI testing

30 lines (29 loc) 640 B
{ "id": "button-name", "selector": "button, [role=\"button\"], input[type=\"button\"], input[type=\"submit\"], input[type=\"reset\"]", "tags": [ "cat.name-role-value", "wcag2a", "wcag412", "section508", "section508.22.a" ], "metadata": { "description": "Ensures buttons have discernible text", "help": "Buttons must have discernible text" }, "all": [], "any": [ "non-empty-if-present", "non-empty-value", "button-has-visible-text", "aria-label", "aria-labelledby", "role-presentation", "role-none", "non-empty-title" ], "none": [ "focusable-no-name" ] }