WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: iframes

for

From: JP Jamous
Date: Apr 24, 2017 7:43AM


Just be careful with the page title of the loading page inside the iframe. The page is best having <title></title> and <html lang="en-us"> to avoid issues with screen readers and automated tools such as WAVE and Axe.

The iframe should always have <iframe title="Google Ad"> so screen readers announce the type of iframe. If the title attribute is missing the screen reader would read the page title that is loaded in the iframe.

Those simple tricks and proper semantic will keep the flow proper with a great UX.