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.
$ aoe 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
Meta
- License: Apache-2.0
- License Provenance: package-authorship-claim
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
Meta
- License: Apache-2.0
- License Provenance: package-authorship-claim
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
Relations
related: [@community/rule-aria-label-required, @community/check-aria-label-required, @community/anti-pattern-text-in-image]
Applies To
@community/type-html-artifact
Meta
- License: Apache-2.0
- License Provenance: package-authorship-claim
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
aoe-engine/examples/frontend-design/primes/compiled/@community/rule-informative-image-alt/atom.yaml