forrtproject / forrtproject/forrtproject.github.io

Fix missing image alt text and intrinsic dimensions

Offen
#869 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @LukasWallrich Auf GitHub ansehen
enhancement new website
Vorherrschende Sprache
HTML
Sterne
42
Forks
33
Ø Merge
2 T. 6 Std.
Gemergte PRs (30 T.)
19

Beschreibung

## Why this needs addressing

The live homepage contains 24 images; 3 news thumbnails have no `alt` attribute. Nearly all sampled images also lack intrinsic `width`/`height` attributes. This is a confirmed accessibility gap and can contribute to layout shifts while images load.

## Requested change

- Give meaningful content images concise, context-appropriate alt text.
- Use `alt=""` only for genuinely decorative images.
- Add intrinsic dimensions or an equivalent aspect-ratio reservation for stable images, especially above the fold and repeated card components.
- Audit shared image partials as well as homepage content so the fix is template-level.

## Acceptance criteria

- No indexable/content image is missing an alt decision (meaningful alt or deliberate empty alt).
- Representative pages reserve image space before loading and show no avoidable layout shift.
- Existing responsive sizing and lazy loading continue to work.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.