HTMLテーブルがあり、<th>
セルが複数の列にまたがっているとします。HTML <th>テーブルセルに使用する正しいスコープ値は何カラムですか?
<table>
<tr>
<th colspan="3" scope="?">Scores</th>
<!-- ...more headings here... -->
</tr>
<tr>
<th scope="col">English</th>
<th scope="col">Maths</th>
<th scope="col">Science</th>
<!-- ...more sub-headings here... -->
</tr>
<tr>
<td>12</td>
<td>16</td>
<td>20</td>
<!-- ...more cells here... -->
</tr>
</table>
スパニング・ヘッダー・セルの有効範囲の値は何ですか? col
はいくつかの見出しが間違っているようですが、実際にはcolgroup
というタグがないと、colgroup
は正しく見えません。
素晴らしいもの、ありがとう。私は、誰もが自分のクォークにコーディングするのではなく、スペックをサポートしているスクリーンリーダーの側に傾いていますが、そのクォークを文書化するのは素晴らしいことです。 –