Skip to content

Element img is missing required attribute src #3037

@pdehaan

Description

@pdehaan

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'>

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 size of the image.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/src#using_src_with_an_image_set

So it appears that the src is still required/recommended as a fallback when using srcset. 🤷

Metadata

Metadata

Assignees

No one assigned

    Labels

    jira-syncedJira task created for this

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions