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

chore(archive): Create archive for Feb 10, 2025 for v4.x #2198

Merged
merged 7 commits into from
Feb 10, 2025
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
4 changes: 2 additions & 2 deletions accessibility-checker-engine/src/v4/sc-urls.json
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,7 @@
"HTML": {
"num": "HTML",
"url": "https://html.spec.whatwg.org/multipage/",
"scId": [],
"scId": "",
"scAltId": [],
"test": "",
"howToMeetUrl": "https://html.spec.whatwg.org/multipage/",
Expand All @@ -1058,7 +1058,7 @@
"ARIA": {
"num": "ARIA",
"url": "https://www.w3.org/TR/wai-aria-1.2/",
"scId": [],
"scId": "",
"scAltId": [],
"test": "",
"howToMeetUrl": "https://www.w3.org/TR/wai-aria-1.2/",
Expand Down
7 changes: 6 additions & 1 deletion accessibility-checker/src-ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,12 @@ export function getConfigUnsupported() : Promise<IConfigInternal> {
return ACConfigManager.getConfigUnsupported();
}

export function close() {
export async function close() {
try {
await ReporterManager.generateSummaries();
} catch (err) {
console.error(err);
}
return ACBrowserManager.close();
}

Expand Down
2 changes: 1 addition & 1 deletion accessibility-checker/test-act-w3/act.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ async function getAssertion(ruleId, aceRules, result) {
&& (!rule.reasonCodes || rule.reasonCodes.filter(code => aceRule.reasonIds.includes(code)))
)).length > 0
// Replace with the scId
)).map(cp => cp.scId));
)).map(cp => cp.scId).filter(scId => scId.length > 0));
}
}
return {
Expand Down
6 changes: 3 additions & 3 deletions cypress-accessibility-checker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ If you do not want to include `cypress-accessibility-checker` globally, you may

## Usage

The commands map directly to the description of the APIs located [in the accessibility-checker/src/README](https://github.com/IBMa/equal-access/blob/master/accessibility-checker/src/README.md). The names of the APIs within Cypress are just slightly different so they are globally unique in the Cypress namespace.
The commands map directly to the description of the APIs located in the [accessibility-checker/src/README](https://github.com/IBMa/equal-access/blob/master/accessibility-checker/src/README.md). The names of the APIs within Cypress are just slightly different so they are globally unique in the Cypress namespace.

The typical use case will be to get the accessibility compliance of a document and then assert the accessibility compliance against the configuration that is defined as part of the `.achecker.yml` file and any baselines that are defined. An example of how this looks is below:

Expand All @@ -75,7 +75,7 @@ The typical use case will be to get the accessibility compliance of a document a
cy.getCompliance('my scan').assertCompliance()
```

Examples of how to use each of the APIs below can be found in the `achecker.js` test file [located here](https://github.com/IBMa/equal-access/blob/master/cypress-accessibility-checker/test/cypress/integration/achecker.js).
Examples of how to use each of the APIs below can be found in the `achecker.js` test file [located here](https://github.com/IBMa/equal-access/blob/master/cypress-accessibility-checker/test/cypress/e2e/achecker.cy.js).

- `cy.getCompliance(label)`
- Similar to `getCompliance()` in the reference API above.
Expand All @@ -97,7 +97,7 @@ Chain the commands similar to other Cypress commands. For example, `cy.getCompli

Baselines are a helpful feature of `accessibility-checker` that can also be used in this Cypress wrapper. The concept involves capturing a scan result as a 'baseline' so that future scans will pass if they match the baseline. If they differ, then the test will fail. This feature is useful for things like false positives or issues you plan on not fixing.

The baseline feature is documented and implemented as part of `accessibility-checker`. Please see the [accessibility-checker/src/README](src/README.md) for details.
The baseline feature is documented and implemented as part of `accessibility-checker`. Please see the [accessibility-checker/src/README](https://github.com/IBMa/equal-access/blob/master/accessibility-checker/src/README.md) for details.

## Development

Expand Down
6 changes: 6 additions & 0 deletions rule-server/src/static/archives.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
"name": "Latest Deployment",
"path": "/archives/latest"
},
{
"id": "10February2025",
"name": "10 February 2025 Deployment (IBM 7.3)",
"version": "3.1.80",
"path": "/archives/2025.02.10"
},
{
"id": "12December2024",
"name": "12 December 2024 Deployment (IBM 7.3)",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading