Skip to content

Commit d3f90df

Browse files
committed
fix: update sc for css orientation rule
1 parent a4255da commit d3f90df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/rule-descriptions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
| bypass | Ensures each page has at least one mechanism for a user to bypass navigation and jump straight to the content | Serious | cat.keyboard, wcag2a, wcag241, section508, section508.22.o | true |
2121
| checkboxgroup | Ensures related <input type="checkbox"> elements have a group and that the group designation is consistent | Critical | cat.forms, best-practice | true |
2222
| color-contrast | Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds | Serious | cat.color, wcag2aa, wcag143 | true |
23-
| css-orientation-lock | Ensures content is not locked to any specific display orientation, and the content is operable in all display orientations | Serious | cat.structure, wcag262, wcag21aa, experimental | true |
23+
| css-orientation-lock | Ensures content is not locked to any specific display orientation, and the content is operable in all display orientations | Serious | cat.structure, wcag134, wcag21aa, experimental | true |
2424
| definition-list | Ensures <dl> elements are structured correctly | Serious | cat.structure, wcag2a, wcag131 | true |
2525
| dlitem | Ensures <dt> and <dd> elements are contained by a <dl> | Serious | cat.structure, wcag2a, wcag131 | true |
2626
| document-title | Ensures each HTML document contains a non-empty <title> element | Serious | cat.text-alternatives, wcag2a, wcag242 | true |

lib/rules/css-orientation-lock.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "css-orientation-lock",
33
"selector": "html",
4-
"tags": ["cat.structure", "wcag262", "wcag21aa", "experimental"],
4+
"tags": ["cat.structure", "wcag134", "wcag21aa", "experimental"],
55
"metadata": {
66
"description": "Ensures content is not locked to any specific display orientation, and the content is operable in all display orientations",
77
"help": "CSS Media queries are not used to lock display orientation"

0 commit comments

Comments
 (0)