From 10c068ff01af2db6050563c22bc27d709a358568 Mon Sep 17 00:00:00 2001 From: Giacomo Petri Date: Fri, 19 Sep 2025 09:29:47 +0200 Subject: [PATCH 1/3] Resolution for passed Example 3 in Headers attribute specified on a cell refers to cells in the same table element [a25f45] - Added accessibility supported note - Added clarification that passed example 3 is not meeting ARIA in HTML and HTML specs --- _rules/table-headers-attribute-refer-to-data-cells-a25f45.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/_rules/table-headers-attribute-refer-to-data-cells-a25f45.md b/_rules/table-headers-attribute-refer-to-data-cells-a25f45.md index 5e4e09b4533..3d23363aebf 100755 --- a/_rules/table-headers-attribute-refer-to-data-cells-a25f45.md +++ b/_rules/table-headers-attribute-refer-to-data-cells-a25f45.md @@ -53,7 +53,8 @@ Each target's [attribute value][] is a [set of space separated tokens][], and no ### Accessibility Support -There are no accessibility support issues known. +Different screen reader and browser combinations may fail to correctly associate table headers and cells when using the headers and id attributes. +While these constructs are technically valid, relying solely on them can still lead to accessibility issues depending on the user’s setup. ### Bibliography @@ -112,6 +113,7 @@ The `headers` attribute on the cell refers to a `th` element within the same `ta #### Passed Example 3 The `headers` attribute on the data cells in the second row refers to a `td` element with a role of `columnheader` within the same `table`. +Although this construct does not conform to the [ARIA in HTML](https://www.w3.org/TR/html-aria/#el-td) or [HTML specifications](https://html.spec.whatwg.org/#attributes-common-to-td-and-th-elements), it behaves the same as using a `th` element instead of a `td` elemment with a role of `columnheader`. ```html From cedbb4a4e59c6e96dcbcac19347861111189b35e Mon Sep 17 00:00:00 2001 From: Giacomo Petri Date: Fri, 19 Sep 2025 09:40:15 +0200 Subject: [PATCH 2/3] Update table-headers-attribute-refer-to-data-cells-a25f45.md --- _rules/table-headers-attribute-refer-to-data-cells-a25f45.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_rules/table-headers-attribute-refer-to-data-cells-a25f45.md b/_rules/table-headers-attribute-refer-to-data-cells-a25f45.md index 3d23363aebf..b22607a96b4 100755 --- a/_rules/table-headers-attribute-refer-to-data-cells-a25f45.md +++ b/_rules/table-headers-attribute-refer-to-data-cells-a25f45.md @@ -113,7 +113,7 @@ The `headers` attribute on the cell refers to a `th` element within the same `ta #### Passed Example 3 The `headers` attribute on the data cells in the second row refers to a `td` element with a role of `columnheader` within the same `table`. -Although this construct does not conform to the [ARIA in HTML](https://www.w3.org/TR/html-aria/#el-td) or [HTML specifications](https://html.spec.whatwg.org/#attributes-common-to-td-and-th-elements), it behaves the same as using a `th` element instead of a `td` elemment with a role of `columnheader`. +Although this construct does not conform to the [ARIA in HTML](https://www.w3.org/TR/html-aria/#el-td) or [HTML specifications](https://html.spec.whatwg.org/#attributes-common-to-td-and-th-elements), it behaves the same as using a `th` element instead of a `td` element with a role of `columnheader`. ```html
From 1c64229ad69207a9ea936964c1949da114aeff4a Mon Sep 17 00:00:00 2001 From: Giacomo Petri Date: Mon, 22 Sep 2025 09:00:08 +0200 Subject: [PATCH 3/3] Update _rules/table-headers-attribute-refer-to-data-cells-a25f45.md Co-authored-by: Dan Tripp <113939352+dan-tripp-siteimprove@users.noreply.github.com> --- _rules/table-headers-attribute-refer-to-data-cells-a25f45.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_rules/table-headers-attribute-refer-to-data-cells-a25f45.md b/_rules/table-headers-attribute-refer-to-data-cells-a25f45.md index b22607a96b4..3d6639567fa 100755 --- a/_rules/table-headers-attribute-refer-to-data-cells-a25f45.md +++ b/_rules/table-headers-attribute-refer-to-data-cells-a25f45.md @@ -113,7 +113,7 @@ The `headers` attribute on the cell refers to a `th` element within the same `ta #### Passed Example 3 The `headers` attribute on the data cells in the second row refers to a `td` element with a role of `columnheader` within the same `table`. -Although this construct does not conform to the [ARIA in HTML](https://www.w3.org/TR/html-aria/#el-td) or [HTML specifications](https://html.spec.whatwg.org/#attributes-common-to-td-and-th-elements), it behaves the same as using a `th` element instead of a `td` element with a role of `columnheader`. +Although this construct does not conform to the [ARIA in HTML](https://www.w3.org/TR/html-aria/#el-td) or [HTML specifications](https://html.spec.whatwg.org/#attributes-common-to-td-and-th-elements), it behaves the same as using a `th` element instead of a `td` element with a role of `columnheader`, on all popular browser / screen reader combinations, at the time of writing. ```html