Cover Block with parallax effect does not use responsive friendly srcset attribute #35290
Labels
[Block] Cover
Affects the Cover Block - used to display content laid over a background image
[Feature] Media
Anything that impacts the experience of managing media
[Type] Performance
Related to performance efforts
Description
I noticed that the Conver Block uses a css background image instead of a normal tag. The srcset cannot be applied to that, so it forces the client to download the original size image, which is bad.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
WordPress 5.8 with stable Gutenberg
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: