ImgWidthAndHeight

Enforces setting the width and height attributes on img tags, avoiding cumulative layout shift (CLS).

When width and height attributes aren't set, then the browser doesn't know aspect ratio of the image before it is downloaded. Unless another technique is used to allocate space, the browser considers the image's height to be 0px until the image is loaded.

This causes the following issues:

Both of these issues negatively affect the mobile search ranking of stores that are using your theme.