Fix "Frame (iframe) without a title" in HTML
Why it's a problem
A screen reader announces “frame” and nothing more: the user cannot tell whether it holds a video, a map, a payment form or an advert, nor whether entering it is worthwhile.
How to fix it — HTML
Add a title attribute to every <iframe> describing its content in a few words. A purely decorative or empty frame should be removed from the tab order with aria-hidden and tabindex="-1" rather than left untitled.
<iframe src="https://www.youtube.com/embed/…"></iframe><iframe
src="https://www.youtube.com/embed/…"
title="Démonstration : lancer un scan d'accessibilité en 60 secondes"
></iframe>
<!-- Cadre décoratif : hors parcours plutôt que sans titre -->
<iframe src="…" aria-hidden="true" tabindex="-1"></iframe>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