Fix "Content missing without stylesheets" in HTML
Why it's a problem
Content that only exists in CSS (text injected with content, informative background images) vanishes when styles are turned off or replaced: by a screen reader, a reading mode, a user stylesheet. Our check disables the stylesheets and flags the page when almost no text remains visible.
How to fix it — HTML
Put the information in the HTML: real text, <img> with alt for informative images. Keep CSS for presentation. Then check the page without styles: content must be present and read in a logical order.
<style>
.promo::before { content: "Livraison offerte dès 50 €"; }
</style>
<p class="promo"></p><p class="promo">Livraison offerte dès 50 €</p>Check your site in 30 seconds
Conformly detects this kind of issue across all your pages, continuously, and alerts you on every regression.
Free scan