--- url: "https://www.w3.org/WAI/WCAG22/Techniques/failures/F91" titulek: "F91: Failure of Success Criterion 1.3.1 for not correctly marking up table headers | WAI | W3C" h1: "Technique F91:Failure of Success Criterion 1.3.1 for not correctly marking up table headers" popis: "" jazyk: "en" kanonicka: "" drobecky: [] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-14 04:43:15" znaku: 2514 slov: 375 kodovani: "utf-8" sha256: "14a3f9a80cff087910d148c9e5f9bf0f695a2b68d78ad4bafb77286dd461a9df" --- # Technique F91:Failure of Success Criterion 1.3.1 for not correctly marking up table headers ## About this Technique This technique relates to [1.3.1 Info and Relationships](https://www.w3.org/WAI/WCAG22/Understanding/info-and-relationships) (**Failure**). This failure applies to HTML. Failure techniques show examples of how content can fail particular WCAG success criteria. However, content may still satisfy those criteria if it includes equivalent/alternative content or functionality that **does** meet the normative requirements. See [About WCAG Techniques](https://www.w3.org/WAI/WCAG22/Techniques/about). ## Description This failure occurs when data tables do not use header elements (`th`) or other appropriate table mark-up (the `scope` attribute, `headers` and `id` or the ARIA `columnheader` and `rowheader`) roles to make the headers programmatically determinable from within table content. Making headers programmatically determinable is especially important when data cells are only intelligible together with header information. When screen reader users navigate through the table content horizontally or vertically, the headers that change can be read out to provide the necessary context for the information in the data cells. ## Examples ### Example 1: Headers not marked up appropriately This table does not use `th` (or other appropriate header markup) for headers. Instead, it uses `td` elements for all cells. Navigating cell by cell, screen readers will often fail to read the header cells associated with content. Example Code: ```
Name Age Height (cm) Weight (kg)
Linda 33 169 59
Jack 37 184 74
Kira 8 120 21
Daniel 3 79 14
``` [View example 1 (opens in same browser window)](../../working-examples/failure-td-not-th/) ## Tests ### Procedure For all data tables, check if table headers can be correctly programmatically determined by use of one of the following mechanisms: 1. headers marked up with table header ( `th` ) elements 2. `scope` attributes on `th` for tables with more than a single row or column of table headers. 3. headers and data cells associated using `headers` and `id` attributes 4. headers marked up with ARIA role attributes `rowheader` or `columnheader` ### Expected Results - If all checks are false, then this failure condition applies and the content fails the Success Criterion. Back to Top