Skip to content

Commit d21ae82

Browse files
authored
remove invalid namefrom contents expectations for td (#45870)
Closes web-platform-tests/interop-accessibility#119 Previous label tests assumed ARIA namefrom:contents was available on cell roles... There is an open ARIA Issue #2160 that might clarify this, but for Interop 2024, these few test expectations did not match the current HTML-AAM spec, so we're removing them.
1 parent 841f1d5 commit d21ae82

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

css/css-display/accessibility/display-contents-role-and-label.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ <h2>Accessibility roles</h2>
7575
</thead>
7676
<tbody>
7777
<tr style="display: contents;">
78-
<td data-expectedrole="cell" data-expectedlabel="x" data-testname="td as child of tr with display: contents, within table with display: flex, has cell role" class="ex-role-and-label">x</td>
78+
<td data-expectedrole="cell" data-testname="td as child of tr with display: contents, within table with display: flex, has cell role" class="ex-role">x</td>
7979
<td>x</td>
8080
</tr>
8181
</tbody>
@@ -90,7 +90,7 @@ <h2>Accessibility roles</h2>
9090
</thead>
9191
<tbody>
9292
<tr style="display: contents;">
93-
<td data-expectedrole="cell" data-expectedlabel="x" data-testname="td as child of tr with display: contents, within table with role=table with display: flex, has cell role" class="ex-role-and-label">x</td>
93+
<td data-expectedrole="cell" data-testname="td as child of tr with display: contents, within table with role=table with display: flex, has cell role" class="ex-role">x</td>
9494
<td>x</td>
9595
</tr>
9696
</tbody>
@@ -105,7 +105,7 @@ <h2>Accessibility roles</h2>
105105
</thead>
106106
<tbody>
107107
<tr style="display: contents;">
108-
<td data-expectedrole="gridcell" data-expectedlabel="x" data-testname="td (no explicit role) as child of tr with display: contents, within table with role=grid with display: flex, has gridcell role" class="ex-role-and-label">x</td>
108+
<td data-expectedrole="gridcell" data-testname="td (no explicit role) as child of tr with display: contents, within table with role=grid with display: flex, has gridcell role" class="ex-role">x</td>
109109
<td>x</td>
110110
</tr>
111111
</tbody>
@@ -212,7 +212,7 @@ <h3 style="display: contents;" data-expectedrole="heading" data-expectedlabel="x
212212
</thead>
213213
<tbody>
214214
<tr>
215-
<td style="display: contents;" data-expectedrole="cell" data-expectedlabel="x" data-testname="td within tr in table with role table, all with display: contents, has cell role" class="ex-role-and-label">x</td>
215+
<td style="display: contents;" data-expectedrole="cell" data-testname="td within tr in table with role table, all with display: contents, has cell role" class="ex-role">x</td>
216216
<td>x</td>
217217
</tr>
218218
</tbody>
@@ -242,7 +242,7 @@ <h3 style="display: contents;" data-expectedrole="heading" data-expectedlabel="x
242242
</thead>
243243
<tbody>
244244
<tr>
245-
<td style="display: contents;" data-expectedrole="gridcell" data-expectedlabel="x" data-testname="td within table with role grid, both with display: contents, has gridcell role" class="ex-role-and-label">x</td>
245+
<td style="display: contents;" data-expectedrole="gridcell" data-testname="td within table with role grid, both with display: contents, has gridcell role" class="ex-role">x</td>
246246
<td>x</td>
247247
</tr>
248248
</tbody>

0 commit comments

Comments
 (0)