WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: why is title attribute necessary on iframes?

for

From: JP Jamous
Date: Dec 15, 2016 11:32AM


What Lucy is referring to, here, is that screen readers capture,

1. Page title inside the frame and that might be some weird combination of letters developers used to identify the page
2. Screen readers might capture the source URL of the page being called thinking that they are trying to help the blind user

You may not need to include a title attribute in certain iframes. If you just ensure that the loading page has a clear title element that will suffice. The screen reader would read this.

Where you encounter this is in a dynamic environment where pages in the iframe are constantly changing like Ads. You are better off eliminating the title attribute and using the page title element.

That is why I always stress manual evaluation. Remember evaluation tools are programs and programs only know what they know. Besides that they are dumb.