Potential A11y Violation:
Missing color/background-color property specification
Point of Failure
If the color
property is specified; the background-color
must also be specified, and vice-versa.
Available Automation Evaluation
In checking known available linting and testing tools, these are our findings.
Linting Could Exist
Potentially Automatable with CSS linting.
Testing Could Exist
It's possible that a check could be created for this potential failure.
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
Ideally, developers can train themselves to always declare a color and a background color in their CSS.
Manual Test Must Exist
Review page and ensure the point of failure does not exist, inspecting the DOM where required.