axe-core
Version:
Accessibility engine for automated Web UI testing
12 lines (11 loc) • 337 B
JSON
{
"id": "non-empty-if-present",
"evaluate": "non-empty-if-present.js",
"metadata": {
"impact": "critical",
"messages": {
"pass": "Element {{?it.data}}has a non-empty value attribute{{??}}does not have a value attribute{{?}}",
"fail": "Element has a value attribute and the value attribute is empty"
}
}
}