Академія
Правило доступності · td-headers-attr
Атрибути headers комірок таблиці повинні посилатися на елементи <th> тієї ж таблиці
СерйознийWCAG 2.1 (A), WCAG 2.0 (A), WCAG 2.2 (A), Section 508, Trusted Tester, EN 301 549, RGAA
Впливає на:BlindDeafblind
Атрибут headers у комірках таблиці повинен посилатися на існуючі <th> елементи.
Як виправити
<table>
<tr>
<th id="name">Ім'я</th>
<th id="age">Вік</th>
</tr>
<tr>
<td headers="name">Олена</td>
<td headers="age">28</td>
</tr>
</table>Ресурси · Зовнішні посилання
- №01Tables Concepts
- №02H43: Using id and headers attributes to associate data cells with header cells in data tables
- №03H51: Using table markup to present tabular information
- №04H63: Using the scope attribute to associate header cells and data cells in data tables
- №05H73: Using the summary attribute of the table element to give an overview of data tables
Безкоштовна перевірка
Перевірте свій сайт
Дізнайтеся, чи є це порушення на вашому ресурсі
Безкоштовний аудит