Potential Violation:
Missing `alt` attribute in `area` element
Point of Failure
The <area>
elements of image maps that are active should have alt
attributes with valid values.
Available Automation Evaluation
In checking known available linting and testing tools, these are our findings.
Linting Exists
See Ember Template Lint: require-valid-alt-text.
See axe Accessibility Linter: For the aria-alt rule.
Testing Could Exist
It's possible that a check could be created for this potential failure. Review linting equivalent and adapt for testing suite.
Other Test Methods
In addition to automated tests, there are other types of tests that could be conducted to prevent this potential violation.
Developer Authored Test Could Exist
Developers should make sure that their code does not violate this rule, and try to write a test that would prevent a regression in accessibility if the code is later changed.
Manual Test Exists
Inspect DOM. If image maps exist, ensure that active <area>
elements have valid alt
attributes.