Skip to content

Commit 25859dd

Browse files
authored
fix(tags): Add / correct several TTv5 tags (#4031)
1 parent 377f72b commit 25859dd

9 files changed

Lines changed: 26 additions & 16 deletions

doc/rule-descriptions.md

Lines changed: 8 additions & 8 deletions
Large diffs are not rendered by default.

lib/rules/aria-hidden-focus.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"selector": "[aria-hidden=\"true\"]",
44
"matches": "aria-hidden-focus-matches",
55
"excludeHidden": false,
6-
"tags": ["cat.name-role-value", "wcag2a", "wcag412"],
6+
"tags": ["cat.name-role-value", "wcag2a", "wcag412", "TTv5", "TT6.a"],
77
"actIds": ["6cfa84"],
88
"metadata": {
99
"description": "Ensures aria-hidden elements are not focusable nor contain focusable elements",

lib/rules/frame-title-unique.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "frame-title-unique",
33
"selector": "frame[title], iframe[title]",
44
"matches": "frame-title-has-text-matches",
5-
"tags": ["cat.text-alternatives", "wcag412", "wcag2a", "TTv5", "TT12.c"],
5+
"tags": ["cat.text-alternatives", "wcag412", "wcag2a", "TTv5", "TT12.d"],
66
"actIds": ["4b1c6c"],
77
"metadata": {
88
"description": "Ensures <iframe> and <frame> elements contain a unique title attribute",

lib/rules/frame-title.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"section508",
1010
"section508.22.i",
1111
"TTv5",
12-
"TT12.c"
12+
"TT12.d"
1313
],
1414
"actIds": ["cae760"],
1515
"metadata": {

lib/rules/meta-refresh.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "meta-refresh",
33
"selector": "meta[http-equiv=\"refresh\"][content]",
44
"excludeHidden": false,
5-
"tags": ["cat.time-and-media", "wcag2a", "wcag221", "TTv5", "TT2.c"],
5+
"tags": ["cat.time-and-media", "wcag2a", "wcag221", "TTv5", "TT8.a"],
66
"actIds": ["bc659a", "bisz58"],
77
"metadata": {
88
"description": "Ensures <meta http-equiv=\"refresh\"> is not used for delayed refresh",

lib/rules/nested-interactive.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "nested-interactive",
33
"matches": "nested-interactive-matches",
4-
"tags": ["cat.keyboard", "wcag2a", "wcag412", "TTv5", "TT4.a"],
4+
"tags": ["cat.keyboard", "wcag2a", "wcag412", "TTv5", "TT6.a"],
55
"actIds": ["307n5z"],
66
"metadata": {
77
"description": "Ensures interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",

lib/rules/scrollable-region-focusable.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "scrollable-region-focusable",
33
"selector": "*:not(select,textarea)",
44
"matches": "scrollable-region-focusable-matches",
5-
"tags": ["cat.keyboard", "wcag2a", "wcag211"],
5+
"tags": ["cat.keyboard", "wcag2a", "wcag211", "TTv5", "TT4.a"],
66
"actIds": ["0ssw9k"],
77
"metadata": {
88
"description": "Ensure elements that have scrollable content are accessible by keyboard",

lib/rules/server-side-image-map.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
"wcag2a",
77
"wcag211",
88
"section508",
9-
"section508.22.f"
9+
"section508.22.f",
10+
"TTv5",
11+
"TT4.a"
1012
],
1113
"metadata": {
1214
"description": "Ensures that server-side image maps are not used",

lib/rules/td-headers-attr.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,15 @@
22
"id": "td-headers-attr",
33
"selector": "table",
44
"matches": "table-or-grid-role-matches",
5-
"tags": ["cat.tables", "wcag2a", "wcag131", "section508", "section508.22.g"],
5+
"tags": [
6+
"cat.tables",
7+
"wcag2a",
8+
"wcag131",
9+
"section508",
10+
"section508.22.g",
11+
"TTv5",
12+
"TT14.b"
13+
],
614
"actIds": ["a25f45"],
715
"metadata": {
816
"description": "Ensure that each cell in a table that uses the headers attribute refers only to other cells in that table",

0 commit comments

Comments
 (0)