From 1ccce75cd1f34de51bd3c08bcdd1072ae99809cd Mon Sep 17 00:00:00 2001 From: Wilco Fiers Date: Wed, 8 Jun 2022 11:13:23 +0200 Subject: [PATCH] Add cross-table headers attribute example --- ...rs-attribute-refer-to-data-cells-a25f45.md | 22 ++++++++++++++++++- 1 file changed, 21 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 94151506b76..78a653d180c 100755 --- a/_rules/table-headers-attribute-refer-to-data-cells-a25f45.md +++ b/_rules/table-headers-attribute-refer-to-data-cells-a25f45.md @@ -239,6 +239,26 @@ The `td` elements have a `headers` attribute referring to an ID that does not ex #### Failed Example 2 +The `td` elements have a `headers` attribute referring to an ID that exist in a separate `table`. + +```html + + + + + +
ProjectsObjective
+ + + + + + +
15%10%
+``` + +#### Failed Example 3 + The `td` element has a `headers` attribute referring to its own ID. ```html @@ -254,7 +274,7 @@ The `td` element has a `headers` attribute referring to its own ID. ``` -#### Failed Example 3 +#### Failed Example 4 The `headers` attribute on the data cells in the second row refers to an element inside the same `table` which does not have a role of `rowheader` or `columnheader`.