The multiple choice image tags do not include a width or height in the HTML.
This causes Google Lighthouse to complain about the following issue: “Image elements do not have explicit width and height”.
The Addons CSS (/wp-content/plugins/woocommerce-product-addons/assets/css/frontend/frontend.css) sets a max width and max height so it would be useful to just include the height and width on the image too.
e.g. inspect one of the addon image elements on this products cart form https://ohcoco.au/product/name-puzzle/ and it will only have src and alt tags on the image. It should also include width and height
Open
Last updated: September 4, 2024
0 comments
Log in to comment on this feature request.