Skip to content

Commit

Permalink
fix(tags): Add / correct several TTv5 tags (#4031)
Browse files Browse the repository at this point in the history
  • Loading branch information
WilcoFiers committed May 24, 2023
1 parent 377f72b commit 25859dd
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 16 deletions.
16 changes: 8 additions & 8 deletions doc/rule-descriptions.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/rules/aria-hidden-focus.json
Expand Up @@ -3,7 +3,7 @@
"selector": "[aria-hidden=\"true\"]",
"matches": "aria-hidden-focus-matches",
"excludeHidden": false,
"tags": ["cat.name-role-value", "wcag2a", "wcag412"],
"tags": ["cat.name-role-value", "wcag2a", "wcag412", "TTv5", "TT6.a"],
"actIds": ["6cfa84"],
"metadata": {
"description": "Ensures aria-hidden elements are not focusable nor contain focusable elements",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/frame-title-unique.json
Expand Up @@ -2,7 +2,7 @@
"id": "frame-title-unique",
"selector": "frame[title], iframe[title]",
"matches": "frame-title-has-text-matches",
"tags": ["cat.text-alternatives", "wcag412", "wcag2a", "TTv5", "TT12.c"],
"tags": ["cat.text-alternatives", "wcag412", "wcag2a", "TTv5", "TT12.d"],
"actIds": ["4b1c6c"],
"metadata": {
"description": "Ensures <iframe> and <frame> elements contain a unique title attribute",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/frame-title.json
Expand Up @@ -9,7 +9,7 @@
"section508",
"section508.22.i",
"TTv5",
"TT12.c"
"TT12.d"
],
"actIds": ["cae760"],
"metadata": {
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/meta-refresh.json
Expand Up @@ -2,7 +2,7 @@
"id": "meta-refresh",
"selector": "meta[http-equiv=\"refresh\"][content]",
"excludeHidden": false,
"tags": ["cat.time-and-media", "wcag2a", "wcag221", "TTv5", "TT2.c"],
"tags": ["cat.time-and-media", "wcag2a", "wcag221", "TTv5", "TT8.a"],
"actIds": ["bc659a", "bisz58"],
"metadata": {
"description": "Ensures <meta http-equiv=\"refresh\"> is not used for delayed refresh",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/nested-interactive.json
@@ -1,7 +1,7 @@
{
"id": "nested-interactive",
"matches": "nested-interactive-matches",
"tags": ["cat.keyboard", "wcag2a", "wcag412", "TTv5", "TT4.a"],
"tags": ["cat.keyboard", "wcag2a", "wcag412", "TTv5", "TT6.a"],
"actIds": ["307n5z"],
"metadata": {
"description": "Ensures interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/scrollable-region-focusable.json
Expand Up @@ -2,7 +2,7 @@
"id": "scrollable-region-focusable",
"selector": "*:not(select,textarea)",
"matches": "scrollable-region-focusable-matches",
"tags": ["cat.keyboard", "wcag2a", "wcag211"],
"tags": ["cat.keyboard", "wcag2a", "wcag211", "TTv5", "TT4.a"],
"actIds": ["0ssw9k"],
"metadata": {
"description": "Ensure elements that have scrollable content are accessible by keyboard",
Expand Down
4 changes: 3 additions & 1 deletion lib/rules/server-side-image-map.json
Expand Up @@ -6,7 +6,9 @@
"wcag2a",
"wcag211",
"section508",
"section508.22.f"
"section508.22.f",
"TTv5",
"TT4.a"
],
"metadata": {
"description": "Ensures that server-side image maps are not used",
Expand Down
10 changes: 9 additions & 1 deletion lib/rules/td-headers-attr.json
Expand Up @@ -2,7 +2,15 @@
"id": "td-headers-attr",
"selector": "table",
"matches": "table-or-grid-role-matches",
"tags": ["cat.tables", "wcag2a", "wcag131", "section508", "section508.22.g"],
"tags": [
"cat.tables",
"wcag2a",
"wcag131",
"section508",
"section508.22.g",
"TTv5",
"TT14.b"
],
"actIds": ["a25f45"],
"metadata": {
"description": "Ensure that each cell in a table that uses the headers attribute refers only to other cells in that table",
Expand Down

0 comments on commit 25859dd

Please sign in to comment.