[wp-meta] [Making WordPress.org] #5986: Improve image markup
Making WordPress.org
noreply at wordpress.org
Fri Dec 17 17:44:11 UTC 2021
#5986: Improve image markup
-----------------------------+-----------------------------
Reporter: jonoaldersonwp | Owner: (none)
Type: defect | Status: new
Priority: high | Milestone:
Component: Photo Directory | Keywords: performance seo
-----------------------------+-----------------------------
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.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/5986>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list