axe-core
Version:
Accessibility engine for automated Web UI testing
19 lines (18 loc) • 376 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": []
}