Making WordPress.org

Opened 3 years ago

Last modified 3 years ago

#5986 closed defect (bug)

Improve image markup — at Initial Version

Reported by: jonoaldersonwp's profile jonoaldersonwp Owned by:
Milestone: Priority: high
Component: Photo Directory Keywords: performance seo
Cc:

Description

Images in grid displays like the one on https://wordpress.org/photos/ and https://wordpress.org/photos/photo/ should:

  • Use loading="lazy" and decoding="async"
  • Use an srcset attribute, providing multiple w variants, targeting 1x, 1.5x, 2x variations.
  • Use a sizes attribute describing the optimal sizing (optionally using a simplified value of 295px).
  • Use an alt attribute of the image caption.

Change History (0)

Note: See TracTickets for help on using tickets.