-
Notifications
You must be signed in to change notification settings - Fork 0
/
video-guided-review-test-page--2024-09-20--0CCrnoj.html
114 lines (81 loc) · 2.76 KB
/
video-guided-review-test-page--2024-09-20--0CCrnoj.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<title>x</title>
<style>
p { line-height: 1.5; }
/* thanks https://www.tpgi.com/the-anatomy-of-visually-hidden/#where-we-came-in */
.visually-hidden:not(:focus):not(:active) {
clip-path: inset(50%);
height: 1px;
overflow: hidden;
position: absolute;
white-space: nowrap;
width: 1px;
}
</style>
<script>
window.addEventListener("load", function(event) {
});
</script>
</head>
<body>
<main>
<!--
<iframe width="560" height="315" src="https://www.youtube.com/embed/JR5hCvifJVo?si=0UT3vm1OgxTA4XSm" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
-->
<br>
<br>
<br>
<br>
<br>
<video controls width="250" autoplay muted>
<source src="https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.webm" type="video/webm" />
<track kind="captions" src="captions.vtt" srclang="en" default/>
<!--
<source src="/media/cc0-videos/flower.mp4" type="video/mp4" />
-->
<!-- below is the fallback content -->
Download the
<a href="/media/cc0-videos/flower.webm">WEBM</a>
or
<a href="/media/cc0-videos/flower.mp4">MP4</a>
video.
</video>
<p class="visually-hidden">
this is a visually-hidden transcript, which won't pass R33.
</p>
<p>
this is a visible transcript, which will pass R33.
</p>
<a href="transcript.html">
This is a link to a visible transcript, which will pass R33.
</a>
<div>
<p class="visually-hidden">
this is a visually-hidden transcript, which isn't (as of 2024-11-18) supposed to pass R33. but since it's in a <div>, you might think that if you point the guided review to the <div>, it will trick the guided review. tested 2024-11-18: that didn't work.
</p>
</div>
<div>
<p class="visually-hidden">
this is almost a total copy of the previous case except this one has &nbsp; outside the <p> and inside the <div>. to be tested.
</p>
</div>
<br>
<br>
<details>
<summary>click to reveal a transcript...</summary>
<p>This is a transcript inside of a <details> element. </p>
</details>
<br>
<br>
<details>
<summary>click to reveal a control case...</summary>
<p>Here ...<a href="#"></a> is a failing link inside of a <details> element. I don't understand the behaviour here b/c (when this disclosure is closed) the alfa browser extension will fail the link inside of it and the chrome a11y tree will not show the contents. </p>
</details>
</main>
</body>
</html>