aria-allowed-role.json 756 B

12345678910111213141516171819202122
  1. {
  2. "id": "aria-allowed-role",
  3. "evaluate": "aria-allowed-role-evaluate",
  4. "options": {
  5. "allowImplicit": true,
  6. "ignoredTags": []
  7. },
  8. "metadata": {
  9. "impact": "minor",
  10. "messages": {
  11. "pass": "ARIA role is allowed for given element",
  12. "fail": {
  13. "singular": "ARIA role ${data.values} is not allowed for given element",
  14. "plural": "ARIA roles ${data.values} are not allowed for given element"
  15. },
  16. "incomplete": {
  17. "singular": "ARIA role ${data.values} must be removed when the element is made visible, as it is not allowed for the element",
  18. "plural": "ARIA roles ${data.values} must be removed when the element is made visible, as they are not allowed for the element"
  19. }
  20. }
  21. }
  22. }