Potential A11y Violation:
Missing image dynamic alt attribute
Point of Failure
If an image is updated dynamically, the alt
attribute value must be updated as well.
Available Automation Evaluation
In checking known available linting and testing tools, these are our findings.
Linting Could Exist
It's possible that a linting rule could be created for this potential failure.
Testing Cannot Exist
How could you determine that an image was being updated dynamically?
If you have any thoughts on how to solve this problem, please file an issue on this app's GitHub Repository.
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 Should Exist
If the developer knows that images will be updated dynamically, write a test to ensure that the alt text is also updated dynamically.
Manual Test Must Exist
Observe the page and see if any images are being updated dynamically. If they are, inspect each one to ensure that the alt
attribute values are being updated as well.