Skip to content

Commit

Permalink
adjust messages
Browse files Browse the repository at this point in the history
  • Loading branch information
engineerklimov committed Nov 12, 2024
1 parent cacbb30 commit effb955
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/checks/tables/td-headers-attr.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"incomplete": "The headers attribute is empty",
"fail": {
"cell-header-not-in-table": "The headers attribute is not exclusively used to refer to other header cells in the table",
"cell-header-not-th": "The header attribute refers a data cell, this must be a header cell so that all screen readers announce it",
"cell-header-not-th": "The headers attribute must refer to header cells, not data cells",
"header-refs-self": "The element with headers attribute refers to itself"
}
}
Expand Down
4 changes: 2 additions & 2 deletions lib/rules/td-headers-attr.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
],
"actIds": ["a25f45"],
"metadata": {
"description": "Ensure that each cell in a table that uses the headers attribute refers only to other cells in that table",
"help": "Table cells that use the headers attribute must only refer to cells in the same table"
"description": "Ensure that each cell in a table using the headers attribute refers only to header cells within that table",
"help": "Table cells using the headers attribute must refer only to header cells or data cells with the role=columnheader/rowheader within the same table."
},
"all": ["td-headers-attr"],
"any": [],
Expand Down

0 comments on commit effb955

Please sign in to comment.