axe-core
Version:
Accessibility engine for automated Web UI testing
14 lines (13 loc) • 343 B
JSON
{
"id": "empty-heading",
"selector": "h1, h2, h3, h4, h5, h6, [role=\"heading\"]",
"matches": "heading-matches.js",
"tags": ["cat.name-role-value", "best-practice"],
"metadata": {
"description": "Ensures headings have discernible text",
"help": "Headings must not be empty"
},
"all": [],
"any": ["has-visible-text"],
"none": []
}