[wp-trac] [WordPress Trac] #53232: Add async decoding attribute as default to the HTML image tags generated by WordPress

WordPress Trac noreply at wordpress.org
Fri Oct 29 15:27:00 UTC 2021


#53232: Add async decoding attribute as default to the HTML image tags generated by
WordPress
-----------------------------+--------------------------
 Reporter:  isaumya          |       Owner:  (none)
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  5.9
Component:  Media            |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:  performance
-----------------------------+--------------------------

Comment (by isaumya):

 Hey @westonruter,
 One minor thing to add here. As this ticket is being considered with the
 combination with the not lazy loading first image ticket that's why
 saying.

 I think for the first image that is not being lazy-loaded we should also
 have `importance="high"` as from Chrome 95 it is fully supported in the
 native browsers. Also if someone is using < Chrome 95 it will not cause
 any issues.

 What do you think?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53232#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list