[wp-meta] [Making WordPress.org] #5986: Improve image markup

Making WordPress.org noreply at wordpress.org
Fri Dec 17 17:45:05 UTC 2021


#5986: Improve image markup
-----------------------------+---------------------
 Reporter:  jonoaldersonwp   |       Owner:  (none)
     Type:  defect           |      Status:  new
 Priority:  high             |   Milestone:
Component:  Photo Directory  |  Resolution:
 Keywords:  performance seo  |
-----------------------------+---------------------
Description changed by jonoaldersonwp:

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

New description:

 Images in grid displays like the one on https://wordpress.org/photos/ and
 https://wordpress.org/photos/photo/ and
 https://wordpress.org/photos/author/anariel-design/ 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.

--

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/5986#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list