Kilotest: Diagnoses of sizes attribute invalid
violation by HTML element 258 on GiveDirectly page
Here is how tools diagnose the sizes attribute invalid
issue for HTML element 258 of the GiveDirectly page.
Basics
- About the
sizes attribute invalid
issue- Why it matters: Item behaves improperly
- Priority: highest
- Related WCAG standard: 1.3.1
- About the GiveDirectly page
- URL:
https://www.givedirectly.org/ - Tested on 2026-04-02 at 14:25
- URL:
- About HTML element 258
- Tag name:
IMG - Text: [not applicable]
- Start tag:
<img fetchpriority="high" decoding="async" width="1440" height="730" class="wp-block-cover__image-background wp-image-20123 size-full" alt="" src="https://www.givedirectly.org/wp-content/uploads/2023/07/Mercy-Leonard-in-Malawi_Desktop-jpeg.webp" style="object-position:82% 7%" data-object-fit="cover" data-object-position="82% 7%" sizes="(max-width: 1440px) 100vw, 1440px"> - XPath:
/html/body/div[1]/main[1]/div[1]/div[1]/picture[1]/img[1] - Bounding box: x = 1040, y = 73, width = 1920, height = 726
- Tag name:
Diagnoses
- The sizes attribute must only be specified if the srcset attribute is also specified.
Tool: Html Checker API (World Wide Web Consortium)