You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Tests the <ahref="https://w3c.github.io/accname/#comp_name_from_heading">#comp_name_from_heading</a> portions of the AccName <em>Name Computation</em> algorithm.</p>
16
+
<p>Includes <ahref="https://github.com/w3c/aria/pull/1860">tentative "name from heading" diff</a>.</p>
17
+
18
+
<!-- ARIA roles. -->
19
+
<divrole="alertdialog" data-expectedlabel="alertdialog role heading contents" data-testname="alertdialog role, name from heading" class="ex-label">
20
+
<h2>alertdialog role heading contents</h2>
21
+
<p>More alertdialog content.</p>
22
+
</div>
23
+
24
+
<divrole="article" data-expectedlabel="article role heading contents" data-testname="article role, name from heading" class="ex-label">
25
+
<h2>article role heading contents</h2>
26
+
<p>More article content.</p>
27
+
</div>
28
+
29
+
<divrole="dialog" data-expectedlabel="dialog role heading contents" data-testname="dialog role, name from heading" class="ex-label">
30
+
<h2>dialog role heading contents</h2>
31
+
<p>More dialog content.</p>
32
+
</div>
33
+
34
+
<divrole="group" data-expectedlabel="" data-testname="group role, verify name is NOT from heading" class="ex-label">
35
+
<divrole="group">
36
+
<h3>Not this one</h3>
37
+
</div>
38
+
<h2>nor this one</h2>
39
+
<p>Nor this content.</p>
40
+
</div>
41
+
42
+
<!-- Native HTML elements. -->
43
+
<dialogopendata-expectedlabel="dialog heading contents" data-testname="native dialog element, name from heading" class="ex-label">
44
+
<h2>dialog heading contents</h2>
45
+
<p>More dialog content.</p>
46
+
</dialog>
47
+
48
+
49
+
<!-- Depth first search (DFS) tests (standard DFS rather than iterative-deepening depth-first search IDDFS/IDS) -->
50
+
<!-- Note: The WG wanted change this from the initially proposed IDS to DFS, but IDS is more performant, so we'll need multiple implementor buy-in for the selection. -->
51
+
<divrole="article" data-expectedlabel="article role simple DFS" data-testname="article role, name from DFS heading" class="ex-label">
0 commit comments