Informative Image Alt
Images that convey meaning or information must have descriptive `alt` text explaining their content or function; decorative images must use `alt=''` to hide them from assistive technology.
$ prime install @community/rule-informative-image-alt Projection
Always in _index.xml · the agent never has to ask for this.
InformativeImageAlt [rule] v1.0.0
Images that convey meaning or information must have descriptive alt text explaining their content or function; decorative images must use alt='' to hide them from assistive technology.
Loaded when retrieval picks the atom as adjacent / supporting.
InformativeImageAlt [rule] v1.0.0
Images that convey meaning or information must have descriptive alt text explaining their content or function; decorative images must use alt='' to hide them from assistive technology.
Applies To
@community/type-html-artifact
Severity
critical
Common Failures
- alt='image' or alt='photo' — describes medium not content
- alt='IMG_4872.jpg' — filename is not a description
- Omitting alt entirely — different from alt=''
- Redundant alt that duplicates adjacent caption text — doubles screen reader output
Loaded when retrieval picks the atom as a focal / direct hit.
InformativeImageAlt [rule] v1.0.0
Images that convey meaning or information must have descriptive alt text explaining their content or function; decorative images must use alt='' to hide them from assistive technology.
Applies To
@community/type-html-artifact
Severity
critical
Common Failures
- alt='image' or alt='photo' — describes medium not content
- alt='IMG_4872.jpg' — filename is not a description
- Omitting alt entirely — different from alt=''
- Redundant alt that duplicates adjacent caption text — doubles screen reader output
Applies To
@community/type-html-artifact
Severity
critical
Common Failures
- alt='image' or alt='photo' — describes medium not content
- alt='IMG_4872.jpg' — filename is not a description
- Omitting alt entirely — different from alt=''
- Redundant alt that duplicates adjacent caption text — doubles screen reader output
Source
prime-system/examples/frontend-design/primes/compiled/@community/rule-informative-image-alt/atom.yaml