axe-core 4.2.3-canary.f478bab → 4.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +0 -34
- package/README.md +1 -8
- package/axe.d.ts +1 -1
- package/axe.js +464 -580
- package/axe.min.js +2 -2
- package/bower.json +2 -8
- package/doc/API.md +6 -35
- package/doc/check-options.md +0 -1
- package/doc/examples/phantomjs/README.md +17 -0
- package/doc/examples/phantomjs/axe-phantom.js +53 -0
- package/doc/examples/phantomjs/package.json +19 -0
- package/doc/rule-descriptions.md +104 -104
- package/lib/checks/aria/fallbackrole-evaluate.js +1 -23
- package/lib/checks/aria/fallbackrole.json +1 -2
- package/lib/checks/color/color-contrast-evaluate.js +16 -21
- package/lib/checks/color/color-contrast.json +0 -1
- package/lib/checks/forms/autocomplete-appropriate.json +0 -1
- package/lib/checks/navigation/heading-order-after.js +19 -2
- package/lib/checks/navigation/region-evaluate.js +1 -12
- package/lib/checks/navigation/region.json +1 -2
- package/lib/core/base/audit.js +2 -6
- package/lib/core/base/context.js +18 -20
- package/lib/core/base/metadata-function-map.js +0 -2
- package/lib/core/utils/index.js +0 -2
- package/lib/rules/area-alt.json +0 -1
- package/lib/rules/aria-allowed-attr.json +0 -1
- package/lib/rules/aria-command-name.json +0 -1
- package/lib/rules/aria-hidden-focus.json +0 -1
- package/lib/rules/aria-input-field-name.json +0 -1
- package/lib/rules/aria-required-children.json +0 -1
- package/lib/rules/aria-required-parent.json +0 -1
- package/lib/rules/aria-valid-attr-value.json +0 -1
- package/lib/rules/audio-caption.json +0 -1
- package/lib/rules/autocomplete-valid.json +1 -2
- package/lib/rules/button-name.json +0 -1
- package/lib/rules/css-orientation-lock.json +0 -1
- package/lib/rules/document-title.json +0 -1
- package/lib/rules/duplicate-id-aria.json +0 -1
- package/lib/rules/html-has-lang.json +0 -1
- package/lib/rules/html-lang-valid.json +0 -1
- package/lib/rules/html-xml-lang-mismatch.json +0 -1
- package/lib/rules/identical-links-same-purpose.json +0 -1
- package/lib/rules/image-alt.json +0 -1
- package/lib/rules/input-image-alt.json +0 -1
- package/lib/rules/label-content-name-mismatch.json +0 -1
- package/lib/rules/label.json +0 -1
- package/lib/rules/link-name.json +0 -1
- package/lib/rules/meta-viewport.json +0 -1
- package/lib/rules/nested-interactive.json +0 -1
- package/lib/rules/no-autoplay-audio.json +0 -1
- package/lib/rules/object-alt.json +0 -1
- package/lib/rules/role-img-alt.json +0 -1
- package/lib/rules/scrollable-region-focusable.json +0 -1
- package/lib/rules/select-name.json +0 -1
- package/lib/rules/svg-img-alt.json +0 -1
- package/lib/rules/td-headers-attr.json +0 -1
- package/lib/rules/th-has-data-cells.json +0 -1
- package/lib/rules/video-caption.json +0 -1
- package/lib/standards/html-elms.js +2 -5
- package/locales/de.json +1 -1
- package/locales/pt_BR.json +44 -163
- package/package.json +1 -1
- package/sri-history.json +269 -273
- package/doc/release-and-support.md +0 -25
- package/lib/checks/navigation/region-after.js +0 -31
- package/lib/core/utils/get-frame-contexts.js +0 -12
- package/lib/core/utils/match-ancestry.js +0 -20
package/CHANGELOG.md
CHANGED
|
@@ -2,40 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
-
### [4.2.3-canary.f478bab](https://github.com/dequelabs/axe-core/compare/v4.2.3...v4.2.3-canary.f478bab) (2021-06-24)
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
### Features
|
|
9
|
-
|
|
10
|
-
* deprecate autocomplete appropriate check ([#2917](https://github.com/dequelabs/axe-core/issues/2917)) ([1fe1487](https://github.com/dequelabs/axe-core/commit/1fe1487758fa0f1f4b7bfc1d8c18bbe397be362d))
|
|
11
|
-
* Remove deprecated phantomjs example ([#2913](https://github.com/dequelabs/axe-core/issues/2913)) ([4a01ffe](https://github.com/dequelabs/axe-core/commit/4a01ffe1adf009745ea12a71f4a888843dc779da))
|
|
12
|
-
* Support multiple languages at once in builds ([#2994](https://github.com/dequelabs/axe-core/issues/2994)) ([f18a56b](https://github.com/dequelabs/axe-core/commit/f18a56b3efafdb14989b45bfff0f94e1863b3899))
|
|
13
|
-
* **options:** accept a string for options.runOnly ([4392bc0](https://github.com/dequelabs/axe-core/commit/4392bc05fb208606fc589b261d3419b9625c6b6c))
|
|
14
|
-
* **rule:** add ACT Rule IDs to test rule objects ([#2866](https://github.com/dequelabs/axe-core/issues/2866)) ([cc1ebf5](https://github.com/dequelabs/axe-core/commit/cc1ebf520caaf787fe73498cac0e4917d357edad)), closes [#2820](https://github.com/dequelabs/axe-core/issues/2820)
|
|
15
|
-
* **utils:** add getFrameContexts method ([#2995](https://github.com/dequelabs/axe-core/issues/2995)) ([f478bab](https://github.com/dequelabs/axe-core/commit/f478babae453b02dec5bf4961b7a995a5964976a))
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
### Bug Fixes
|
|
19
|
-
|
|
20
|
-
* **accText:** ignore text in embedded content elements ([#3022](https://github.com/dequelabs/axe-core/issues/3022)) ([fa4f926](https://github.com/dequelabs/axe-core/commit/fa4f926c089bec2cfca882b61b74fecac504c8e0)), closes [#3017](https://github.com/dequelabs/axe-core/issues/3017)
|
|
21
|
-
* **aria-allowed-attr:** allow aria-posinset and aria-setsize on row elements for treegrids ([#2952](https://github.com/dequelabs/axe-core/issues/2952)) ([24e6115](https://github.com/dequelabs/axe-core/commit/24e6115adb8834b02e1e0a535a661c31caefa588))
|
|
22
|
-
* **aria-allowed-attr:** pass aria-label on some HTML elements ([#2935](https://github.com/dequelabs/axe-core/issues/2935)) ([d2584ed](https://github.com/dequelabs/axe-core/commit/d2584edfa7b439a5702f5b8d368253b9abe690fc))
|
|
23
|
-
* **aria-roles:** Mark as needs review if both none and presentation are used on element with no implicit role ([#2989](https://github.com/dequelabs/axe-core/issues/2989)) ([70c683c](https://github.com/dequelabs/axe-core/commit/70c683cd9844b23d62641e7063bae757a897ca38))
|
|
24
|
-
* **autocomplete-appropriate:** pass for autocomplete=username and type=email ([#2896](https://github.com/dequelabs/axe-core/issues/2896)) ([43394bc](https://github.com/dequelabs/axe-core/commit/43394bcd01c631f0c129f2f584d88a3a134a92a7))
|
|
25
|
-
* JS error in @axe-core/react caused by stale reference to heading ([b7094c8](https://github.com/dequelabs/axe-core/commit/b7094c8146ec816ab3d079e57f07bf0f21ce6676))
|
|
26
|
-
* **color-contrast:** add special case for new sr-only technique ([#2985](https://github.com/dequelabs/axe-core/issues/2985)) ([d6a72f9](https://github.com/dequelabs/axe-core/commit/d6a72f9316b00eee683aed4dbf0a0fafe0661a2f))
|
|
27
|
-
* **color-contrast:** check for pseudo elements on element itself, not just parents ([#2980](https://github.com/dequelabs/axe-core/issues/2980)) ([9b6ccd0](https://github.com/dequelabs/axe-core/commit/9b6ccd0c2948e7036ef3984810909f59d1e65f27))
|
|
28
|
-
* **frame-tested:** run without respondable ([#2942](https://github.com/dequelabs/axe-core/issues/2942)) ([c046114](https://github.com/dequelabs/axe-core/commit/c046114e9740e3e130ad0cb98288eb77331fbb93))
|
|
29
|
-
* **getStandards:** Read standards from utils ([#2903](https://github.com/dequelabs/axe-core/issues/2903)) ([f1a0368](https://github.com/dequelabs/axe-core/commit/f1a036890b9befe8c1a0af388fd0f215bee6d9ae))
|
|
30
|
-
* **heading-order:** Prevent crash on page with iframes but no headings ([#2965](https://github.com/dequelabs/axe-core/issues/2965)) ([99e7f0c](https://github.com/dequelabs/axe-core/commit/99e7f0c2ae5758328e1299ff54a261c7e581c475))
|
|
31
|
-
* **meta-viewport:** test that a user-scalable number does not prevent zoom ([b3562fb](https://github.com/dequelabs/axe-core/commit/b3562fb9fffa3152014d56a6e02a05622c10b9a9))
|
|
32
|
-
* treat input with no role as textbox ([#2929](https://github.com/dequelabs/axe-core/issues/2929)) ([13d909d](https://github.com/dequelabs/axe-core/commit/13d909dd12dc40ab9ed448793aef5031e207d429))
|
|
33
|
-
* **publish-metadata:** use fail message for rules with reviewOnFail:true ([#2987](https://github.com/dequelabs/axe-core/issues/2987)) ([b6dc5f6](https://github.com/dequelabs/axe-core/commit/b6dc5f654c6c4b56217eabfd093447122890a7a2))
|
|
34
|
-
* **region:** contents in iframes should pass the region rule if the iframe itself is in a region ([#2949](https://github.com/dequelabs/axe-core/issues/2949)) ([43145d6](https://github.com/dequelabs/axe-core/commit/43145d6f1136c0e2c9fd9a9f3a401a68f56fe665))
|
|
35
|
-
* **required-parent:** Allow *item > group > *item nesting ([#2898](https://github.com/dequelabs/axe-core/issues/2898)) ([59b4a7e](https://github.com/dequelabs/axe-core/commit/59b4a7e2d939076e7aed6308ff25d1f3460d944b))
|
|
36
|
-
* **sri-history:** add backported releases ([#3004](https://github.com/dequelabs/axe-core/issues/3004)) ([6eecf34](https://github.com/dequelabs/axe-core/commit/6eecf344751e03170bd70fe076584011b5a6cacb))
|
|
37
|
-
* **types:** make `evaluate` check optional ([#2902](https://github.com/dequelabs/axe-core/issues/2902)) ([417f572](https://github.com/dequelabs/axe-core/commit/417f5724112e46f128efd5f56da9f891bf1e938c))
|
|
38
|
-
|
|
39
5
|
### [4.2.3](https://github.com/dequelabs/axe-core/compare/v4.2.2...v4.2.3) (2021-06-22)
|
|
40
6
|
|
|
41
7
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -103,7 +103,7 @@ or equivalently:
|
|
|
103
103
|
|
|
104
104
|
`npm run build -- --lang=nl`
|
|
105
105
|
|
|
106
|
-
This will create a new build for axe, called `axe.<lang>.js` and `axe.<lang>.min.js`. If you want to build localized versions, simply pass in `--all-lang` instead.
|
|
106
|
+
This will create a new build for axe, called `axe.<lang>.js` and `axe.<lang>.min.js`. If you want to build localized versions, simply pass in `--all-lang` instead.
|
|
107
107
|
|
|
108
108
|
To create a new translation for axe, start by running `grunt translate --lang=<langcode>`. This will create a json file fin the `./locales` directory, with the default English text in it for you to translate. We welcome any localization for axe-core. For details on how to contribute, see the Contributing section below. For details on the message syntax, see [Check Message Template](/docs/check-message-template.md).
|
|
109
109
|
|
|
@@ -136,13 +136,6 @@ axe.configure({
|
|
|
136
136
|
});
|
|
137
137
|
```
|
|
138
138
|
|
|
139
|
-
## Updates & Security
|
|
140
|
-
|
|
141
|
-
Axe-core has a new minor release every 3 to 5 months, which usually introduces new rules and features. We recommend scheduling time to upgrade to these versions. Security updates will be made available for minor version lines up to **18 months old**.
|
|
142
|
-
|
|
143
|
-
- See [release and support](doc/release-and-support.md) for details on the frequency of releases, long-term support and recommendations on upgrading axe-core.
|
|
144
|
-
- See [backward compatibility](doc/backwards-compatibility-doc.md) for details on the types of changes different releases may introduce.
|
|
145
|
-
|
|
146
139
|
## Supported ARIA Roles and Attributes.
|
|
147
140
|
|
|
148
141
|
Refer [axe-core ARIA support](./doc/aria-supported.md) for a complete list of ARIA supported roles and attributes by axe.
|
package/axe.d.ts
CHANGED