Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tags): Add / correct several TTv5 tags #4031

Merged
merged 1 commit into from
May 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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