OM-074
Show a clear error message if the image cannot load; do not leave broken images.
The requirement (from the design system site)
Show a clear error message if the image cannot load; do not leave broken images.
Why it matters to users
An image that fails to load leaves an empty box or a broken symbol, and the user assumes the page is faulty or that part of the instructions is missing. On a weak mobile connection this happens often and wears away trust in the service.
How to fix it
Fix or remove broken image links, and show a clear message when an image cannot load, as gup-image does. Then scan again.
How we measure it
Count img elements with complete && naturalWidth===0 after load (broken); pass if 0. Page chrome counts once.
The rule on the design system site