Skip to content

Potential A11y Violation:
Invalid 'alt' attribute value ​

Point of Failure ​

The 'alt' attribute value should not contain filenames or placeholder text.

Available Automation Evaluation ​

In checking known available linting and testing tools, these are our findings.

Linting Exists ​

Ember Template Lint: require-valid-alt-text

Testing Could Exist ​

It's possible that a check could be created for this potential failure. Review require-valid-alt-text linting rule and adapt for testing.

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 ​

The developer should ensure that they do not use filenames or placeholder text for alt attribute values. A test should be written to ensure that the code does not regress if changed.

Manual Test Should Exist ​

Observe if there are images on the page. If there are, inspect the DOM and ensure that the alt attribute value does not contain filenames or placeholder text.

Created with ❤️ and ☕️ by Melanie Sumner. Hosted by Netlify.