WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Frames differ by browser

for

From: Jonathan Avila
Date: Jan 11, 2017 8:30AM


> Fact is that, according to the accessible name calculation native HTML labeling comes before title (in this case I guess it would be the <title> element inside the frame).

For the purposes of the iFrame -- it is my understanding the title element of the content document is not taken into account.

According to the HTML Accessibility API Mappings 1.0
https://www.w3.org/TR/html-aam-1.0/

5.13.1 iframe Element Accessible Name Computation

If the element has an aria-label or an aria-labelledby attribute the accessible name is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1.
Otherwise use the title attribute
If none of the above yield a usable text string there is no accessible name
NOTE
The document referenced by the src of the iframe element gets its name from that document's title element, like any other document. If there is no title provided, there is no accessible name.

Jonathan

Jonathan Avila
Chief Accessibility Officer
SSB BART Group
<EMAIL REMOVED>
703.637.8957 (Office)
Vis Visit us online: Website | Twitter | Facebook | LinkedIn | Blog
See you at CSUN in March!

The information contained in this transmission may be attorney privileged and/or confidential information intended for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is strictly prohibited.