

IFrame titles are only necessary when the frame’s content is visually distinct from the other content on the page. Are titles necessary for all inline frames? If they’re not interested in the content, they can easily scroll past it without wondering what they’re missing. This informs the user that they’re about to view a product demonstration video. If they’re not interested in the product, they may feel frustrated when audio playback begins.Īdding a title to the iframe will explain the purpose of the content: They won’t know that the video contains information about a product. When accessing the video, screen reader users might hear “frame,” followed by the filepath of the iframe. Your video player uses an iframe, but you don’t provide a title.

Let’s say that your site uses an embedded video to demonstrate the features of a product.

Without meaningful titles, the user might become confused. In other words, the iframe isn’t announced immediately - only when the user navigates to the iframe. Screen readers will announce the presence of the iframe when the user encounters the content. iFrame titles can tell users what to expect Here’s an overview of the best practices for providing iframe titles. Titling your iframes provides users with important context, enabling them to decide whether or not to engage with your content. However, iframes must have meaningful titles. Generally, using iframes won’t negatively impact the experiences of people who use screen readers and other assistive technologies. Commonly used for advertisements and embedded videos, iframes are powerful tools for incorporating external content. An inline frame (also called an iframe) loads another HTML page within a document.
