--- url: "https://www.w3.org/WAI/WCAG22/Techniques/smil/SM12" titulek: "SM12: Providing captions through synchronized text streams in SMIL 2.0 | WAI | W3C" h1: "Technique SM12:Providing captions through synchronized text streams in SMIL 2.0" popis: "" jazyk: "en" kanonicka: "" drobecky: [] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-14 04:42:00" znaku: 3104 slov: 359 kodovani: "utf-8" sha256: "3b823fcc9a34f6f4baadbce9f165259703d1569a8c7550b239291f350d95ee10" --- # Technique SM12:Providing captions through synchronized text streams in SMIL 2.0 ## About this Technique This technique relates to: - [1.2.2 Captions (Prerecorded)](https://www.w3.org/WAI/WCAG22/Understanding/captions-prerecorded) ( **Sufficient** when used with [G87: Providing closed captions](../general/G87) ) - [1.2.4 Captions (Live)](https://www.w3.org/WAI/WCAG22/Understanding/captions-live) ( **Sufficient** when used with [G9: Creating captions for live synchronized media](../general/G9) and [G87: Providing closed captions](../general/G87) ) This technique applies to SMIL 2.0. 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 provide a way for people who are deaf or otherwise have trouble hearing the dialogue in audio visual material to be able to view the material. With this technique all of the dialogue and important sounds are available in a text stream that is displayed in a caption area. With SMIL 2.0, separate regions can be defined for the video and the captions. The captions and video playback are synchronized, with the caption text displayed in one region of the screen, and the corresponding video displayed in another region. ## Examples ### Example 1: SMIL 2.0 caption sample with internal text streams for RealMedia player ``` ``` This example shows a `text` element that includes synchronized text streams within the SMIL file. ## Related Resources *No endorsement implied.* - [Synchronized Multimedia Integration Language (SMIL 2.0)](https://www.w3.org/TR/SMIL/) - [Synchronized Multimedia Integration Language (SMIL 3.0)](https://www.w3.org/TR/SMIL3/) - [Accessibility Features of SMIL](https://www.w3.org/TR/SMIL-access/) ## Tests ### Procedure 1. Enabled caption preference in player, if present 2. Play file with captions 3. Check whether captions are displayed ### Expected Results - #3 is true Back to Top