Accompanying Files
Observation Details
Certain images are not loaded on viewports below 1296px. Reproducible by setting browser viewport to ≤1295px and reloading the page. This behavior exists on multiple pages and as such is marked a global observation. The following example code is taken from the first missing image on page "IoT-Verteilerseite" in section "Die Kids Watch für die Sicherheit Ihres Kindes":
<div class="teaser__mainvisual teaser__mainvisual--left">
<img
class="lazy teaser__mainvisual-image"
src="data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="" height="" viewBox="0 0 1 1"></svg>"
data-src="https://www.telekom.de/resources/images/1226050/telekom-iot-doorpage-teaser-kidswatch-fruehling.webp"
alt="Die Kids Watch für die Sicherheit Ihres Kindes"
title="Die Kids Watch für die Sicherheit Ihres Kindes"
>
<noscript>
<img
class="teaser__mainvisual-image"
src="https://www.telekom.de/resources/images/1226050/telekom-iot-doorpage-teaser-kidswatch-fruehling.webp"
alt="Die Kids Watch für die Sicherheit Ihres Kindes"
title="Die Kids Watch für die Sicherheit Ihres Kindes"
/>
</noscript>
</div>Observations about code markup:
Image's
srcattribute not used to provide image sourcesrcattribute includes invalid character(s) (e.g.<)titleattribute used and duplicate ofaltattributeUnnecessary
<noscript>used for image element that should not need javascript to be displayedImage tag missing
/before closing>CSS class
lazyused instead of image's built-inloading="lazy"
The reason for images not being loaded can be any combination of issues. See remediation notes for one recommendation to fix the issue by using clean, semantic HTML code.
Remediation Notes
Ensure all images are either loaded on page load or correctly lazy loaded later on.
Use the image's
srcattribute for the image sourceDo not use
titleattribute on HTML image elementEnsure valid HTML code by running a validator tool like W3C NuHtml Validator
Keep code consistent (e.g. image with / without trailing
/at the end of the tag)
Simplify above-mentioned example code:
<div class="teaser__mainvisual teaser__mainvisual--left">
<img
class="teaser__mainvisual-image"
src="https://www.telekom.de/resources/images/1226050/telekom-iot-doorpage-teaser-kidswatch-fruehling.webp"
alt="Die Kids Watch für die Sicherheit Ihres Kindes"
loading="lazy"
/>
</div>