img width and height attributes don’t match the image size Usability Guideline

Description

The img width and height attributes don’t match the actual image size. This means the image will be distorted or resize during loading.

Applicable standards

Change history

  • 6.53 Jul 2024 Don’t fire for hidden images.
  • 5.24 Dec 2016 Don’t fire for zero size images.
  • 5.9 Jun 2015 Don’t fire for responsive images.
  • 2.0 Dec 2007 Added.

This page describes a web site issue detected in HTML documents by SortSite Desktop and OnDemand Suite.

Rule ID: UseImgWidthHeightScaled