adobe / adobe/aem-lib

Add width/height attributes to images to prevent CLS

Open
#201 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
5
Forks
11
Avg merge
9h 50m
Merged PRs (30d)
4

Description

**Problem:**
`createOptimizedPicture` generates `` elements without width/height attributes, causing Cumulative Layout Shift (CLS) and poor Core Web Vitals scores.

**Constraint:**
Solution must NOT require authors to manually add dimension metadata to documents (per boilerplate authoring guidelines).

**Related Issue:** adobe/aem-boilerplate#169

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.