Potential A11y Violation:
Missing ASCII art text alternative
Point of Failure
ASCII art should not be used without providing a text alternative.
Available Automation Evaluation
In checking known available linting and testing tools, these are our findings.
Linting Cannot Exist
There is no programmatic way to determine if something is ASCII art. It does not seem possible to have an automated test for this potential failure, yet. If you think it can, please file an issue on this app's GitHub Repository.
Testing Cannot Exist
There is no programmatic way to determine if something is ASCII art, so it does not seem possible to have an automated test for this potential failure, yet. If you think it can, 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
Developers should provide alternative text if ASCII art is used, and write a test to ensure that this code does not regress if changed.
Manual Test Must Exist
A manual test must exist. Review the page, and determine if ASCII art exists. If it does, inspect the DOM and look for an appropriate alt
attribute.