E-mail List Archives
Re: iframes and alt attribute
From: Jonathan Avila
Date: Mar 16, 2016 1:09PM
- Next message: Léonie Watson: "Re: iframes and alt attribute"
- Previous message: Léonie Watson: "Re: iframes and alt attribute"
- Next message in Thread: Léonie Watson: "Re: iframes and alt attribute"
- Previous message in Thread: Léonie Watson: "Re: iframes and alt attribute"
- View all messages in this Thread
> You can use either. Both alt and title attributes can be used to give the frame an accessible name, which is the goal in this instance. The title attribute is more commonly used with frames though.
To my knowledge the alt attribute is not valid on an iframe. Alt is not a global attribute unlike the title attribute and other aria attributes. Perhaps this has changed or perhaps if the iframe was only an image resource had a role of img I could see this but otherwise this seems non-standard.
Jonathan
- Next message: Léonie Watson: "Re: iframes and alt attribute"
- Previous message: Léonie Watson: "Re: iframes and alt attribute"
- Next message in Thread: Léonie Watson: "Re: iframes and alt attribute"
- Previous message in Thread: Léonie Watson: "Re: iframes and alt attribute"
- View all messages in this Thread