WebAIM - Web Accessibility In Mind

E-mail List Archives

Accessible names of iframes

for

From: Birkir R. Gunnarsson
Date: Aug 5, 2018 4:49PM


Hey guys

We're displaying information from a third party vendor via an iframe.
The iframe pulls in info from a different page.
The page has its own <html> element and <head> element with a <title>
aXe complains the iframe has no accessible name (because the <iframe>
element does not have a title attribute).

The question I have is whether the iframe can have an accessible name
from the <title> element. Jaws always assigns the value of the <title>
element as the accessible name of an <iframe> even if the <ifame> has
a title attribute.

This is not a big deal but I am a bit confused what the HTML syntax
rules are and whether an iframe's accessible name can only come from
the title attribute or can come from the <title> element.


--
Work hard. Have fun. Make history.