-
Notifications
You must be signed in to change notification settings - Fork 45
chore(atomic-a11y): add shared foundation, and delta audit validation #7187
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
base: feat/a11y-openacr
Are you sure you want to change the base?
Changes from all commits
612b9a0
51258ea
60c0d7e
b0fbbf9
5411d3e
232428a
36027dd
23a19bf
0da2915
7832c84
4be8f93
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| .env |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| { | ||
| "criteria": [ | ||
| "1.3.2-meaningful-sequence", | ||
| "1.3.3-sensory-characteristics", | ||
| "1.3.4-orientation", | ||
| "1.3.5-identify-input-purpose", | ||
| "1.4.4-resize-text", | ||
| "1.4.5-images-of-text", | ||
| "1.4.10-reflow", | ||
| "1.4.12-text-spacing", | ||
| "1.4.13-content-on-hover-focus", | ||
| "2.4.4-link-purpose", | ||
| "2.4.6-headings-and-labels", | ||
| "2.4.7-focus-visible", | ||
| "2.4.11-focus-not-obscured" | ||
| ] | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,79 @@ | ||
| { | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This file contains all the WCAG rules that are not applicable to Coveo
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ❗❗Please review this file and make sure this makes sense to exclude these rules ❗❗ |
||
| "overrides": [ | ||
| { | ||
| "criterion": "1.2.1", | ||
| "conformance": "not-applicable", | ||
| "reason": "Atomic components do not include prerecorded audio-only or video-only content." | ||
| }, | ||
| { | ||
| "criterion": "1.2.2", | ||
| "conformance": "not-applicable", | ||
| "reason": "Atomic components do not include synchronized media requiring captions." | ||
| }, | ||
| { | ||
| "criterion": "1.2.3", | ||
| "conformance": "not-applicable", | ||
| "reason": "Atomic components do not include prerecorded video content requiring audio descriptions." | ||
| }, | ||
| { | ||
| "criterion": "1.2.4", | ||
| "conformance": "not-applicable", | ||
| "reason": "Atomic components do not include live audio content." | ||
| }, | ||
| { | ||
| "criterion": "1.2.5", | ||
| "conformance": "not-applicable", | ||
| "reason": "Atomic components do not include prerecorded video content." | ||
| }, | ||
| { | ||
| "criterion": "1.4.2", | ||
| "conformance": "not-applicable", | ||
| "reason": "Atomic components do not produce audio output." | ||
| }, | ||
| { | ||
| "criterion": "2.4.1", | ||
| "conformance": "not-applicable", | ||
| "reason": "Bypass blocks is a page-level concern — skip links and landmark regions are the responsibility of the consuming application." | ||
| }, | ||
| { | ||
| "criterion": "2.4.2", | ||
| "conformance": "not-applicable", | ||
| "reason": "Page titles are set at the document level by the consuming application, not by embedded components." | ||
| }, | ||
| { | ||
| "criterion": "2.4.5", | ||
| "conformance": "not-applicable", | ||
| "reason": "Multiple ways to locate content is a site architecture concern — navigation mechanisms are the responsibility of the consuming application." | ||
| }, | ||
| { | ||
| "criterion": "2.5.4", | ||
| "conformance": "not-applicable", | ||
| "reason": "Atomic components do not implement device motion-based interactions." | ||
| }, | ||
| { | ||
| "criterion": "2.5.7", | ||
| "conformance": "not-applicable", | ||
| "reason": "Atomic components do not require dragging movements — all interactions have single-pointer alternatives." | ||
| }, | ||
| { | ||
| "criterion": "3.2.6", | ||
| "conformance": "not-applicable", | ||
| "reason": "Consistent help mechanisms are an application-level concern — Atomic provides UI primitives, not help systems." | ||
| }, | ||
| { | ||
| "criterion": "3.3.4", | ||
| "conformance": "not-applicable", | ||
| "reason": "Error prevention for legal, financial, or data transactions is a business logic concern handled by the consuming application." | ||
| }, | ||
| { | ||
| "criterion": "3.3.7", | ||
| "conformance": "not-applicable", | ||
| "reason": "Redundant entry prevention for multi-step processes is an application-level concern — Atomic provides form primitives, not process flows." | ||
| }, | ||
| { | ||
| "criterion": "3.3.8", | ||
| "conformance": "not-applicable", | ||
| "reason": "Atomic components do not implement authentication flows." | ||
| } | ||
| ] | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| import {main} from '../dist/audit/manual-audit-delta.js'; | ||
|
|
||
| main().catch((error) => { | ||
| console.error(error); | ||
| process.exit(1); | ||
| }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file contains all the rules that will have be covered manually