forrtproject / forrtproject/forrtproject.github.io

Fix missing image alt text and intrinsic dimensions

Đang mở
#869 0 bình luận 0 reaction 1 người được giao Được @LukasWallrich nhận Xem trên GitHub
enhancement new website
Ngôn ngữ chính
HTML
Star
42
Fork
33
Merge trung bình
2 ngày 6 giờ
Pull request đã merge (30 ngày)
19

Mô tả

## 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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.