-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<transcript> element inside <video> and <audio> for deafblind users #45
Comments
For the status quo, I guess this is how I would have marked this up with the solutions of today. It obviously does not solve all points from your list, but it's valid (ignore the data URL issue). The semantic association between the transcript and the video is the <!DOCTYPE html>
<html lang="en">
<head>
<title>Foo</title>
</head>
<body>
<figure>
<video controls>
<source src="foo.mp4" type="video/mp4" />
</video>
<figcaption>
<details>
<summary>Transcript</summary>
<section>
<h1>Foo</h1>
<p>Bar</p>
</section>
</details>
</figcaption>
</figure>
</body>
</html> I don't claim that this is the solution or to be an expert, simply was wondering how I would solve this today. |
Apparently, there already exists a proposal for
/cc @chaals Other useful resources:
|
OK, I was not aware of that. Thank you for the notice. |
There are ways to make a transcript and connect it semantically, sure. My point was: it is not enforced by the web standard. It depends totally on the author/developer and therefore has no universal role, which it should have for braille users to make it easier to find it. |
Not sure how Braille readers represent this in practice, but the HTML spec says that "[t]he |
Yes, this is perfectly right. But the use of a |
As there is an official proposal for a |
@accessabilly I don't decide what's accepted. I didn't mean to indicate that this (or the WHATWG issue) should be closed. I only wanted to point to the existing proposal as a means to indicate there's interest in this elsewhere. Feel free to re-open, especially since the existing HTML proposal hasn't been brought up here nor at WHATWG yet. |
Transcripts of multimedia are essential for deafblind users
I previously submitted this here, but was told it would be better here.
Deafblind multimedia users need everything in a machine-readable text format to be displayed via a screen reader in a refreshable braille device. Closed captions in videos are not usable text for them, because, though some modern braille readers can display the captions, the captions change too quickly to read them in real time as the video plays. Also, there is no easy way to access the captions separately from the video, even if the captions are in a text format. A separate transcript to audio or video is the only way that multimedia content can be made accessible to deafblind users.
Use Cases
There are ways to create transcripts already, like placing transcript content into a separate markup container after the multimedia content. But this technique has accessibility and usability issues:
<video>
or<audio>
.aria-describedby
to the multimedia content is not usable for deafblind users, because it does not allow pausing or navigating the text in a screen reader. It makes the screen reader read the whole thing at once.Goals
<transcript>
element inside the<video>
or<audio>
, which ensures a semantical connection and controllability via the multimedia player. It should be possible to place sectioning content and flow content inside, like in a<section>
.<transcript>
should reflect a button in the multimedia player to show/hide the transcript, something like there already is for close captions.<transcript src="/transcript.html">
. An embedded solution like an<iframe>
could be possible, but have the same security and accessibility issues.<section>
of the current document as transcript like this:<transcript src="#my-custom-transcript">
.<div role="transcript" id="my-custom-transscript">
. A custom transcript outside the multimedia element would allow custom styling.<transcript>
elements could be automatically detected via automated testing tools like HTML Validator, Lighthouse, AXE, WAVE etc.Examples
Example 1: embedded
<transcript>
Example 2: embedded
<transcript>
with reference in the documentPrivacy & Security Considerations
Privacy
I think you can monitor and track, if
<transcript>
was viewed or not if toggled via a control in the multimedia element. But that does not reveal data about the person viewing it. This could be a robot or a human as well.Security
Assumed, that
<transcript>
can work like an<iframe>
, it could have the same security issues.The text was updated successfully, but these errors were encountered: