RAWEB
4.18 For each pre-recorded synchronised time-based media that has subtitles, can these be vocalised (excluding special cases)?
Official methodology to test criterion 4.18
Test 1 (4.18.1)
- Locate pre-recorded synchronised time-based media with subtitles.
- Check for the presence of an audio track that would be the vocalised version of the subtitles:
- activate the sound track;
- check that the vocalised subtitles correspond to the displayed subtitles.
- If not, check that there is a feature that allows you to voice subtitles:
- Text-to-speech. Some media players (e.g. <a href="https://ableplayer.github.io/ableplayer/">AblePlayer</a> or <a href="https://videojs.com">VideoJS</a>) offer the option of adding a description track in the form of a text file (similar in construction to a subtitle file with a time stamp) that can be synthesised using the Web Speech API of browsers (this is known as text-to-speech, or TTS). By activating this feature, the browser reads the description. This feature can be used to provide a vocalised version of subtitles and would therefore be considered a compliant implementation if properly documented for the user. To test it:
- activate the feature;
- start playing the multimedia content;
- check that the texts displayed by this means are vocalised.
- Description. Some media players (for example, <a href="https://ableplayer.github.io/ableplayer/">AblePlayer</a> or <a href="https://player.support.brightcove.com/playback/using-screen-reader-brightcove-player.html">BrightCove</a>) offer the option of integrating description tracks in the form of a text file (similar in construction to a subtitle file with a time stamp) which is declared in the code using the <code><track></code> tag with the <code>kind="descriptions"</code> attribute and whose final implementation has sufficient properties to enable them to be played back by screen readers (presence of the <code>aria-live</code> property, for example). This feature can be used to provide a version of the subtitles that can be vocalised by screen readers and would therefore be considered a compliant implementation if it is properly documented for the user. To test it:
- activate the functionality;
- activate the screen reader;
- check that the texts displayed by this means are vocalised.
- Text-to-speech. Some media players (e.g. <a href="https://ableplayer.github.io/ableplayer/">AblePlayer</a> or <a href="https://videojs.com">VideoJS</a>) offer the option of adding a description track in the form of a text file (similar in construction to a subtitle file with a time stamp) that can be synthesised using the Web Speech API of browsers (this is known as text-to-speech, or TTS). By activating this feature, the browser reads the description. This feature can be used to provide a vocalised version of subtitles and would therefore be considered a compliant implementation if properly documented for the user. To test it:
- If not
- activate the subtitles;
- activate the screen reader;
- check that the spoken subtitles match the displayed subtitles.
- Otherwise
- check for alternative media whose soundtracks contain voice-activated subtitles;
- check that the spoken subtitles match the displayed subtitles.
- If this is the case, the test is validated.