--- url: "https://www.w3.org/WAI/WCAG22/Techniques/html/H64" titulek: "H64: Using the title attribute of the iframe element | WAI | W3C" h1: "Technique H64:Using the title attribute of the iframe element" popis: "" jazyk: "en" kanonicka: "" drobecky: [] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-14 05:33:07" znaku: 2374 slov: 347 kodovani: "utf-8" sha256: "8d47d84c8004640e4734349c76e14aa8c36f3a8a094c567544c98711b27a0a4b" --- # Technique H64:Using the `title` attribute of the `iframe` element ## About this Technique This technique relates to: - [2.4.1 Bypass Blocks](https://www.w3.org/WAI/WCAG22/Understanding/bypass-blocks) ( **Sufficient** when used for grouping blocks of repeated material in a way that can be skipped) - [4.1.2 Name, Role, Value](https://www.w3.org/WAI/WCAG22/Understanding/name-role-value) ( **Sufficient** when used with [G108: Using markup features to expose the name and role, allow user-settable properties to be directly set, and provide notification of changes](../general/G108) ) This technique applies to HTML documents that use `iframe`s. Techniques are examples of ways to meet Web Content Accessibility Guidelines (WCAG). They are **not required** to meet WCAG. Content can satisfy the normative requirements of WCAG even if it does not use any of the documented techniques. See [About WCAG Techniques](https://www.w3.org/WAI/WCAG22/Techniques/about). ## Description The objective of this technique is to demonstrate the use of the `title` attribute of the `iframe` element to describe its contents. This provides a label for the frame so users can determine which frame to enter and explore in detail. It does not label the content inside the `iframe`. Note The `title` attribute labels `iframe`s, and is different from the `title` element which labels documents. Both should be provided, since the first facilitates navigation among `iframe`s and the second clarifies the user's current page. The `title` attribute is not interchangeable with the `name` attribute. The `title` labels the frame for users; the `name` labels it for scripting and window targeting. The `name` is not presented to the user, only the `title` is. ## Examples ### Example 1: Using the `title` attribute with an `iframe` to describe the `iframe`'s content ``` A document using an iframe ... ... ``` ## Related Resources *No endorsement implied.* - [HTML - `iframe` element](https://html.spec.whatwg.org/multipage/iframe-embed-object.html#the-iframe-element) . ## Tests ### Procedure 1. Check each `iframe` element in the HTML source code for the presence of a `title` attribute. 2. Check that the `title` attribute contains text that describes the `iframe` 's content. ### Expected Results - Checks #1 and #2 are true. Back to Top