We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
img
src
Per https://html5.validator.nu/?doc=https%3A%2F%2Fmonitor.firefox.com&showimagereport=yes
Seeing 6 instances of the "Element img is missing required attribute src." error.
From line 49, column 13; to line 49, column 183 <img class='monitor-logo' srcset='/images/monitor-logo-transparent.webp 213w, /images/[email protected] 425w' width='213' height='33' alt='Firefox Monitor'>↩
From line 49, column 13; to line 49, column 183
<img class='monitor-logo' srcset='/images/monitor-logo-transparent.webp 213w, /images/[email protected] 425w' width='213' height='33' alt='Firefox Monitor'>↩
Quoth the MDN:
Using src with an image set When using a set of images with the srcset property, the src serves as either a fallback for older browsers, or as the 1× size of the image. — https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/src#using_src_with_an_image_set
When using a set of images with the srcset property, the src serves as either a fallback for older browsers, or as the 1× size of the image. — https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/src#using_src_with_an_image_set
srcset
1×
So it appears that the src is still required/recommended as a fallback when using srcset. 🤷
The text was updated successfully, but these errors were encountered:
I'll call it related, but there's another 6× errors re: sizes attribute on the <img> tag:
sizes
<img>
When the srcset attribute has any image candidate string with a width descriptor, the sizes attribute must also be present. From line 49, column 13; to line 49, column 183 <img class='monitor-logo' srcset='/images/monitor-logo-transparent.webp 213w, /images/[email protected] 425w' width='213' height='33' alt='Firefox Monitor'>↩
if you want to track this separately, we can convert the comment into a new issue (or do your Jira thing or whatever).
Sorry, something went wrong.
No branches or pull requests
Per https://html5.validator.nu/?doc=https%3A%2F%2Fmonitor.firefox.com&showimagereport=yes
Seeing 6 instances of the "Element
img
is missing required attributesrc
." error.Quoth the MDN:
So it appears that the
src
is still required/recommended as a fallback when usingsrcset
. 🤷The text was updated successfully, but these errors were encountered: