image-alt.json 552 B

1234567891011121314151617181920212223242526
  1. {
  2. "id": "image-alt",
  3. "selector": "img",
  4. "matches": "no-explicit-name-required-matches",
  5. "tags": [
  6. "cat.text-alternatives",
  7. "wcag2a",
  8. "wcag111",
  9. "section508",
  10. "section508.22.a",
  11. "ACT"
  12. ],
  13. "metadata": {
  14. "description": "Ensures <img> elements have alternate text or a role of none or presentation",
  15. "help": "Images must have alternate text"
  16. },
  17. "all": [],
  18. "any": [
  19. "has-alt",
  20. "aria-label",
  21. "aria-labelledby",
  22. "non-empty-title",
  23. "presentational-role"
  24. ],
  25. "none": ["alt-space-value"]
  26. }