Skip to content

Commit

Permalink
Merge pull request #2946 from dequelabs/release-4.2.1
Browse files Browse the repository at this point in the history
chore(release): 4.2.1
  • Loading branch information
WilcoFiers authored May 18, 2021
2 parents 199eed2 + c7ad207 commit a4188ab
Show file tree
Hide file tree
Showing 41 changed files with 1,204 additions and 3,307 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/auto-assign-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Auto assign axe-core integration issues to Axe API team project board

on:
issues:
types: [opened]
env:
MY_GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}

jobs:
assign_one_project:
runs-on: ubuntu-latest
name: Auto assign axe-core integration issues to Axe API team project board
steps:
- name: Auto assign axe-core integration issues to Axe API team project board
uses: srggrs/[email protected]
with:
project: https://github.com/orgs/dequelabs/projects/53
column_name: 'Ungroomed'
1 change: 0 additions & 1 deletion .github/workflows/sync-master-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
pr-title: "chore: merge master into develop"
pr-reviewers: straker,WilcoFiers,stephenmathieson
pr-template: .github/PULL_REQUEST_TEMPLATE.md
5 changes: 0 additions & 5 deletions .huskyrc

This file was deleted.

32 changes: 16 additions & 16 deletions .jsdoc.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"tags": {
"allowUnknownTags": true,
"dictionaries": ["jsdoc"]
},
"source": {
"include": ["lib", "README.md"],
"includePattern": ".js$",
"excludePattern": "(node_modules/|doc/api)"
},
"opts": {
"destination": "./doc/api",
"encoding": "utf8",
"recurse": true,
"template": "./node_modules/minami"
},
"plugins": ["plugins/markdown"]
"tags": {
"allowUnknownTags": true,
"dictionaries": ["jsdoc"]
},
"source": {
"include": ["lib", "README.md"],
"includePattern": ".js$",
"excludePattern": "(node_modules/|doc/api)"
},
"opts": {
"destination": "./doc/api",
"encoding": "utf8",
"recurse": true,
"template": "./node_modules/minami"
},
"plugins": ["plugins/markdown"]
}
10 changes: 0 additions & 10 deletions .prettierrc

This file was deleted.

10 changes: 10 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"printWidth": 80,
"useTabs": false,
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"trailingComma": "none",
"bracketSpacing": true,
"arrowParens": "avoid"
}
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

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.2.1](https://github.com/dequelabs/axe-core/compare/v4.2.0...v4.2.1) (2021-05-18)

### Bug Fixes

- **aria-allowed-attr:** pass aria-label on some HTML elements ([#2935](https://github.com/dequelabs/axe-core/issues/2935)) ([695aa77](https://github.com/dequelabs/axe-core/commit/695aa7751246c0e5e786a66df7808faa7a244576))
- treat input with no role as textbox ([#2929](https://github.com/dequelabs/axe-core/issues/2929)) ([de18030](https://github.com/dequelabs/axe-core/commit/de180307fd876cfc6a1a0bdb828818a323976c81))
- **autocomplete-appropriate:** pass for autocomplete=username and type=email ([#2896](https://github.com/dequelabs/axe-core/issues/2896)) ([8b478c8](https://github.com/dequelabs/axe-core/commit/8b478c82b3362fc27df8a0087c779327e6a9d6d0))
- **getStandards:** Read standards from utils ([#2903](https://github.com/dequelabs/axe-core/issues/2903)) ([52ad4c6](https://github.com/dequelabs/axe-core/commit/52ad4c69991e433d413846c4c9778fdd863aebeb))
- **required-parent:** Allow *item > group > *item nesting ([#2898](https://github.com/dequelabs/axe-core/issues/2898)) ([3acd229](https://github.com/dequelabs/axe-core/commit/3acd229b08b806ea359e7e08e37e8721cddc5290))
- **types:** make `evaluate` check optional ([#2902](https://github.com/dequelabs/axe-core/issues/2902)) ([75fabfe](https://github.com/dequelabs/axe-core/commit/75fabfef3adeade350902f2dd18928e44fbb7cf4))

## [4.2.0](https://github.com/dequelabs/axe-core/compare/v4.1.2...v4.2.0) (2021-04-23)

### Features
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Axe is an accessibility testing engine for websites and other HTML-based user in

Axe-core has different types of rules, for WCAG 2.0 and 2.1 on level A and AA, as well as a number of best practices that help you identify common accessibility practices like ensuring every page has an `h1` heading, and to help you avoid "gotchas" in ARIA like where an ARIA attribute you used will get ignored.

With axe-core, you can find **up to 50% of WCAG issues automatically**. Additionally, axe-core will return elements as "incomplete" where axe-core could not be certain, and manual review is needed. To further improve test coverage we recommend the [intelligent guided tests](https://www.youtube.com/watch?v=AtsX0dPCG_4&feature=youtu.be&ab_channel=DequeSystems) in the [axe Extension](https://www.deque.com/axe/browser-extensions/).
With axe-core, you can find **on average 57% of WCAG issues automatically**. Additionally, axe-core will return elements as "incomplete" where axe-core could not be certain, and manual review is needed. To further improve test coverage we recommend the [intelligent guided tests](https://www.youtube.com/watch?v=AtsX0dPCG_4&feature=youtu.be&ab_channel=DequeSystems) in the [axe Extension](https://www.deque.com/axe/browser-extensions/).

The complete list of rules, grouped WCAG level and best practice, can found in [doc/rule-descriptions.md](./doc/rule-descriptions.md).

Expand Down
2 changes: 1 addition & 1 deletion axe.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ declare namespace axe {
}
interface Check {
id: string;
evaluate: Function | string;
evaluate?: Function | string;
after?: Function | string;
options?: any;
matches?: string;
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "axe-core",
"version": "4.2.0",
"version": "4.2.1",
"contributors": [
{
"name": "David Sturley",
Expand Down
61 changes: 61 additions & 0 deletions doc/check-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
- [Options](#options)
- [Global Options](#global-options)
- [aria-allowed-role](#aria-allowed-role)
- [aria-prohibited-attr](#aria-prohibited-attr)
- [aria-required-children](#aria-required-children)
- [aria-required-parent](#aria-required-parent)
- [aria-roledescription](#aria-roledescription)
- [color-contrast](#color-contrast)
- [page-has-heading-one](#page-has-heading-one)
Expand Down Expand Up @@ -73,6 +75,42 @@ All checks allow these global options:
| `allowImplicit` | `true` | Allow the explicit role to match the implicit role of the element |
| `ignoredTags` | `[]` | Do not check for allowed roles in the provided HTML elements list |

### aria-prohibited-attr

<table>
<thead>
<tr>
<th>Option</th>
<th align="left">Default</th>
<th align="left">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<code>elementsAllowedAriaLabel</code>
</td>
<td align="left">
<pre lang=js><code>[
"audio",
"applet",
"canvas",
"dl",
"embed",
"iframe",
"input",
"label",
"meter",
"object",
"svg",
"video"
]</code></pre>
</td>
<td align="left">List of element names that without a role, are allowed an `aria-label` and `aria-labelledby` attribute</td>
</tr>
</tbody>
</table>

### aria-required-children

<table>
Expand Down Expand Up @@ -107,6 +145,29 @@ All checks allow these global options:
</tbody>
</table>

### aria-required-parent

<table>
<thead>
<tr>
<th>Option</th>
<th align="left">Default</th>
<th align="left">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<code>ownGroupRoles</code>
</td>
<td align="left">
<pre lang=js><code>['listitem', 'treeitem']</code></pre>
</td>
<td align="left">List of ARIA roles that when used in a group can have a grand parent with the same role. E.g. <code>list > listitem > group > listitem</code>.</td>
</tr>
</tbody>
</table>

### aria-roledescription

<table>
Expand Down
Loading

0 comments on commit a4188ab

Please sign in to comment.