Skip to content

Commit 0b2f622

Browse files
authored
Merge pull request #65 from browserstack/release-2.3.0
Release 2.3.0
2 parents 98d3c53 + 4f0d2fd commit 0b2f622

File tree

5 files changed

+53
-46
lines changed

5 files changed

+53
-46
lines changed

build/tasks/validate.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,8 @@ const categories = [
330330
'structure',
331331
'tables',
332332
'text-alternatives',
333-
'time-and-media'
333+
'time-and-media',
334+
'images'
334335
];
335336

336337
const standardsTags = [

doc/rule-descriptions.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ Rules that do not necessarily conform to WCAG success criterion but are industry
104104
| [empty-heading](https://dequeuniversity.com/rules/axe/4.9/empty-heading?application=RuleDescription) | Ensures headings have discernible text | Minor | cat.name-role-value, best-practice | failure, needs review | [ffd0e9](https://act-rules.github.io/rules/ffd0e9) |
105105
| [empty-table-header](https://dequeuniversity.com/rules/axe/4.9/empty-table-header?application=RuleDescription) | Ensures table headers have discernible text | Minor | cat.name-role-value, best-practice | failure, needs review | |
106106
| [frame-tested](https://dequeuniversity.com/rules/axe/4.9/frame-tested?application=RuleDescription) | Ensures <iframe> and <frame> elements contain the axe-core script | Critical | cat.structure, best-practice, review-item | failure, needs review | |
107-
| [heading-order](https://dequeuniversity.com/rules/axe/4.9/heading-order?application=RuleDescription) | Ensures the order of headings is semantically correct | Moderate | cat.semantics, best-practice | failure, needs review | |
108107
| [image-redundant-alt](https://dequeuniversity.com/rules/axe/4.9/image-redundant-alt?application=RuleDescription) | Ensure image alternative is not repeated as text | Minor | cat.text-alternatives, best-practice | failure | |
109108
| [label-title-only](https://dequeuniversity.com/rules/axe/4.9/label-title-only?application=RuleDescription) | Ensures that every form element has a visible label and is not solely labeled using hidden labels, or the title or aria-describedby attributes | Serious | cat.forms, best-practice | failure | |
110109
| [landmark-banner-is-top-level](https://dequeuniversity.com/rules/axe/4.9/landmark-banner-is-top-level?application=RuleDescription) | Ensures the banner landmark is at top level | Moderate | cat.semantics, best-practice | failure | |
@@ -129,11 +128,12 @@ Rules that do not necessarily conform to WCAG success criterion but are industry
129128

130129
Rules that check for conformance to WCAG AAA success criteria that can be fully automated. These are disabled by default in axe-core.
131130

132-
| Rule ID | Description | Impact | Tags | Issue Type | ACT Rules |
133-
| :--------------------------------------------------------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------- | :------ | :--------------------------------------------- | :------------------------- | :------------------------------------------------- |
134-
| [color-contrast-enhanced](https://dequeuniversity.com/rules/axe/4.9/color-contrast-enhanced?application=RuleDescription) | Ensures the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds | Serious | cat.color, wcag2aaa, wcag146, ACT | failure, needs review | [09o5cg](https://act-rules.github.io/rules/09o5cg) |
135-
| [identical-links-same-purpose](https://dequeuniversity.com/rules/axe/4.9/identical-links-same-purpose?application=RuleDescription) | Ensure that links with the same accessible name serve a similar purpose | Minor | cat.semantics, wcag2aaa, wcag249 | needs review | [b20e66](https://act-rules.github.io/rules/b20e66) |
136-
| [meta-refresh-no-exceptions](https://dequeuniversity.com/rules/axe/4.9/meta-refresh-no-exceptions?application=RuleDescription) | Ensures <meta http-equiv="refresh"> is not used for delayed refresh | Minor | cat.time-and-media, wcag2aaa, wcag224, wcag325 | failure | [bisz58](https://act-rules.github.io/rules/bisz58) |
131+
| Rule ID | Description | Impact | Tags | Issue Type | ACT Rules |
132+
| :--------------------------------------------------------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------- | :------- | :----------------------------------------------------------------------- | :------------------------- | :------------------------------------------------- |
133+
| [color-contrast-enhanced](https://dequeuniversity.com/rules/axe/4.9/color-contrast-enhanced?application=RuleDescription) | Ensures the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds | Serious | cat.color, wcag2aaa, wcag146, ACT | failure, needs review | [09o5cg](https://act-rules.github.io/rules/09o5cg) |
134+
| [heading-order](https://dequeuniversity.com/rules/axe/4.9/heading-order?application=RuleDescription) | Ensures the order of headings is semantically correct | Moderate | cat.structure, wcag2aaa, wcag2410, a11y-engine, a11y-engine-experimental | failure, needs review | |
135+
| [identical-links-same-purpose](https://dequeuniversity.com/rules/axe/4.9/identical-links-same-purpose?application=RuleDescription) | Ensure that links with the same accessible name serve a similar purpose | Minor | cat.semantics, wcag2aaa, wcag249 | needs review | [b20e66](https://act-rules.github.io/rules/b20e66) |
136+
| [meta-refresh-no-exceptions](https://dequeuniversity.com/rules/axe/4.9/meta-refresh-no-exceptions?application=RuleDescription) | Ensures <meta http-equiv="refresh"> is not used for delayed refresh | Minor | cat.time-and-media, wcag2aaa, wcag224, wcag325 | failure | [bisz58](https://act-rules.github.io/rules/bisz58) |
137137

138138
## Experimental Rules
139139

lib/checks/navigation/heading-order.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"impact": "moderate",
77
"messages": {
88
"pass": "Heading order valid",
9-
"fail": "Heading order invalid",
9+
"fail": "Fix the order of headings. Headings should be in descending order of size without skipping levels. For example, <h2> should be followed by <h3>, not <h4> or <h5>.",
1010
"incomplete": "Unable to determine previous heading"
1111
}
1212
}

lib/rules/heading-order.json

+8-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,16 @@
33
"impact": "moderate",
44
"selector": "h1, h2, h3, h4, h5, h6, [role=heading]",
55
"matches": "heading-matches",
6-
"tags": ["cat.semantics", "best-practice"],
6+
"tags": [
7+
"cat.structure",
8+
"wcag2aaa",
9+
"wcag2410",
10+
"a11y-engine",
11+
"a11y-engine-experimental"
12+
],
713
"metadata": {
814
"description": "Ensures the order of headings is semantically correct",
9-
"help": "Heading levels should only increase by one"
15+
"help": "Heading levels must increase by one"
1016
},
1117
"all": [],
1218
"any": ["heading-order"],

package-lock.json

+36-36
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)