It is good accessibility practice to provide a transcript of video and audio material in your course. Many learners find transcripts helpful, even if the audio or video file is fully accessible to them.
<script type="text/javascript">
function toggle(obj) {
var obj = document.getElementById(obj);
if (obj.style.display == "block") obj.style.display = "none";
else obj.style.display = "block";
}
</script>
<p><a href="javascript: void(0);" onclick="toggle('transcript')">View transcript</a></p>
<div id="transcript" style="display:none;">
<p>Transcript</p>
<hr>
</div>
Tip: If your transcript has many paragraphs, here is an easy workaround.