Roni Laukkarinen
Roni Laukkarinen
This happened to be just dude-website CSS and not air-helper, I believe it will not cause an issue on any other site. For some reason that hero has srcset image...
Note to self: Autoptimize adds unnecessary "auto" tag 🤔
> Note to self: Autoptimize adds unnecessary "auto" tag 🤔 The reason explained in our task [T-25630](https://height.app/sgr2jAyukJ/T-25630). To backtrack: - [Auto Sizes for Lazy Loaded Images in WordPress 6.7](https://make.wordpress.org/core/2024/10/18/auto-sizes-for-lazy-loaded-images-in-wordpress-6-7/) -...
Actually these could be ignored, because less experimental Nu HTML validator shows no errors for these. ``` shell nu-html-checker --api "https://validator.w3.org/nu" "https://airwptheme.com/demo" ```
Yeah, just to confirm, these are not also officailly issue any longer anyway: ``` $ nu-html-checker --api "https://validator.w3.org/nu" "https://airwptheme.com/demo" https://airwptheme.com/demo No validation errors found! ```
Currently can live with this. See [this blog post](https://rolle.design/beautiful-scss-error-reporting-with-gulp). Closing the issue for now.
[Related issue](https://github.com/digitoimistodude/air-light/issues/142). Side note: We could use this or some parts of it: [Solving “Properly size images” in WordPress](https://tinybit.com/blog/solving-properly-size-images-wordpress/).
We decided this is something we'll not include in air-light but will do in the themes instead, where needed. See example from [our company website](https://github.com/digitoimistodude/dude/blob/eb92aa28b3defaee03b549e781b7b45e5d499ee9/content/themes/dude/inc/template-tags/picture-with-cf-cdn.php) that uses [Cloudflare CDN +...
@villekujansuu Thanks! While you're at it, can you send a PR we can review and approve?
Fixed in DEV-116.