luhn-generator
Version:
A generator of numbers that passes the validation of Luhn algorithm or Luhn formula, also known as the 'modulus 10' or 'mod 10' algorithm
15 lines (14 loc) • 301 B
JSON
{
"id": "non-empty-alt",
"evaluate": "attr-non-space-content-evaluate",
"options": {
"attribute": "alt"
},
"metadata": {
"impact": "critical",
"messages": {
"pass": "Element has a non-empty alt attribute",
"fail": "Element has no alt attribute or the alt attribute is empty"
}
}
}