Skip to content
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
6 changes: 3 additions & 3 deletions app/specs/product/quality/QR-20.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"name": "Every screen meets WCAG 2.2 AA",
"characteristic": "interaction capability",
"subcharacteristic": "inclusivity",
"says": "the first visit, every place in the person's view, an opened item, Settings and an answer meet WCAG 2.2 at level AA, as axe-core 4.10.3 (pinned by SHA-256) checks it, at desktop and phone widths in light and dark, on the specifications' own examples",
"says": "every WCAG 2.2 success criterion at levels A and AA, from W3C's own wcag.json pinned by SHA-256, is enforced as the standards registry says (axe-core 4.10.3 rules, verified not-applicable conditions, or W3C's test procedures as probes) on the first visit, every place in the person's view, an opened item, Settings and an answer, at desktop and phone widths in light and dark, on the specifications' own examples",
"measures": [
{
"key": "wcag-violations",
"says": "WCAG 2.2 AA rules violated on any screen of the walk beyond the listed debt",
"key": "wcag-failing",
"says": "WCAG 2.2 A and AA success criteria failing beyond the standard's listed debt",
"direction": "atMost",
"threshold": 0,
"gate": "test/page/standards.test.mjs"
Expand Down
6 changes: 6 additions & 0 deletions app/specs/standards/debt.json
Original file line number Diff line number Diff line change
Expand Up @@ -822,5 +822,11 @@
"rfc6350-7.2.4-e2a4a65d",
"rfc6350-9-86c493ee",
"rfc6350-9-8b9671de"
],
"wcag-2.2": [
"wcag-2.2-1.4.11",
"wcag-2.2-2.1.1",
"wcag-2.2-2.1.4",
"wcag-2.2-2.4.7"
]
}
301 changes: 290 additions & 11 deletions app/specs/standards/spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -375,25 +375,306 @@
},
{
"key": "wcag-2.2",
"title": "W3C Web Content Accessibility Guidelines 2.2",
"title": "W3C Web Content Accessibility Guidelines 2.2, conformance at level AA",
"issuer": "W3C",
"text": null,
"unpinned": "W3C's wcag.json inventory (success criteria) needs pinning with the wcag-json extractor",
"governs": [],
"text": {
"url": "https://www.w3.org/TR/WCAG22/",
"sha256": "6e3c5fe397257cae509a2fb4752b73062cf8cbeb92c2cec618989b17e4cf7057"
},
"governs": [
"site/card.mjs",
"site/app.mjs",
"site/surface/surface.mjs"
],
"realizedBy": [
"ST-01"
]
],
"inventories": [
{
"extract": "wcag-json",
"levels": [
"A",
"AA"
],
"source": {
"url": "https://www.w3.org/WAI/WCAG22/wcag.json",
"sha256": "b6bedebc86e96c4989722dd7ebb49eb604f8b832de04f7a570430c5ebee097e6"
}
}
],
"engine": {
"name": "axe-core",
"url": "https://cdn.jsdelivr.net/npm/axe-core@4.10.3/axe.min.js",
"sha256": "880970c081707360e64f34cea25ff91892f5bc95675b0776925b9709dd8a68bb"
},
"enforcedBy": {
"wcag-2.2-1.1.1": {
"suite": "test/page/standards.test.mjs",
"how": "axe-core rules: image-alt, input-image-alt, object-alt, role-img-alt, svg-img-alt, aria-meter-name, aria-progressbar-name"
},
"wcag-2.2-1.2.1": {
"suite": "test/page/standards.test.mjs",
"how": "absent: audio, video"
},
"wcag-2.2-1.2.2": {
"suite": "test/page/standards.test.mjs",
"how": "absent: audio, video"
},
"wcag-2.2-1.2.3": {
"suite": "test/page/standards.test.mjs",
"how": "absent: audio, video"
},
"wcag-2.2-1.2.4": {
"suite": "test/page/standards.test.mjs",
"how": "absent: audio, video"
},
"wcag-2.2-1.2.5": {
"suite": "test/page/standards.test.mjs",
"how": "absent: audio, video"
},
"wcag-2.2-1.3.1": {
"suite": "test/page/standards.test.mjs",
"how": "axe-core rules: aria-required-children, aria-required-parent, definition-list, dlitem, list, listitem, p-as-heading, td-has-header, td-headers-attr, th-has-data-cells, aria-hidden-body"
},
"wcag-2.2-1.3.2": {
"suite": "test/page/standards.test.mjs",
"how": "probe: reading-order"
},
"wcag-2.2-1.3.3": {
"suite": "test/page/standards.test.mjs",
"how": "probe: sensory-words"
},
"wcag-2.2-1.3.4": {
"suite": "test/page/standards.test.mjs",
"how": "axe-core rules: css-orientation-lock"
},
"wcag-2.2-1.3.5": {
"suite": "test/page/standards.test.mjs",
"how": "axe-core rules: autocomplete-valid"
},
"wcag-2.2-1.4.1": {
"suite": "test/page/standards.test.mjs",
"how": "axe-core rules: link-in-text-block"
},
"wcag-2.2-1.4.2": {
"suite": "test/page/standards.test.mjs",
"how": "absent: audio, video"
},
"wcag-2.2-1.4.3": {
"suite": "test/page/standards.test.mjs",
"how": "axe-core rules: color-contrast"
},
"wcag-2.2-1.4.4": {
"suite": "test/page/standards.test.mjs",
"how": "probe: text-200"
},
"wcag-2.2-1.4.5": {
"suite": "test/page/standards.test.mjs",
"how": "absent: img, canvas"
},
"wcag-2.2-1.4.10": {
"suite": "test/page/standards.test.mjs",
"how": "probe: reflow"
},
"wcag-2.2-1.4.11": {
"suite": "test/page/standards.test.mjs",
"how": "probe: non-text-contrast"
},
"wcag-2.2-1.4.12": {
"suite": "test/page/standards.test.mjs",
"how": "probe: text-spacing"
},
"wcag-2.2-1.4.13": {
"suite": "test/page/standards.test.mjs",
"how": "absent: [role=tooltip]"
},
"wcag-2.2-2.1.1": {
"suite": "test/page/standards.test.mjs",
"how": "probe: keyboard"
},
"wcag-2.2-2.1.2": {
"suite": "test/page/standards.test.mjs",
"how": "probe: keyboard"
},
"wcag-2.2-2.1.4": {
"suite": "test/page/standards.test.mjs",
"how": "probe: character-keys"
},
"wcag-2.2-2.2.1": {
"suite": "test/page/standards.test.mjs",
"how": "axe-core rules: meta-refresh"
},
"wcag-2.2-2.2.2": {
"suite": "test/page/standards.test.mjs",
"how": "probe: endless-motion"
},
"wcag-2.2-2.3.1": {
"suite": "test/page/standards.test.mjs",
"how": "probe: endless-motion"
},
"wcag-2.2-2.4.1": {
"suite": "test/page/standards.test.mjs",
"how": "axe-core rules: bypass"
},
"wcag-2.2-2.4.2": {
"suite": "test/page/standards.test.mjs",
"how": "axe-core rules: document-title"
},
"wcag-2.2-2.4.3": {
"suite": "test/page/standards.test.mjs",
"how": "absent: [tabindex]:not([tabindex='0'], [tabindex='-1'])"
},
"wcag-2.2-2.4.4": {
"suite": "test/page/standards.test.mjs",
"how": "axe-core rules: link-name, area-alt"
},
"wcag-2.2-2.4.5": {
"suite": "test/page/standards.test.mjs",
"how": "probe: multiple-ways"
},
"wcag-2.2-2.4.6": {
"suite": "test/page/standards.test.mjs",
"how": "probe: headings-labels"
},
"wcag-2.2-2.4.7": {
"suite": "test/page/standards.test.mjs",
"how": "probe: keyboard"
},
"wcag-2.2-2.4.11": {
"suite": "test/page/standards.test.mjs",
"how": "probe: keyboard"
},
"wcag-2.2-2.5.1": {
"suite": "test/page/standards.test.mjs",
"how": "absent: [draggable=true]"
},
"wcag-2.2-2.5.2": {
"suite": "test/page/standards.test.mjs",
"how": "probe: pointer-cancellation"
},
"wcag-2.2-2.5.3": {
"suite": "test/page/standards.test.mjs",
"how": "axe-core rules: label-content-name-mismatch"
},
"wcag-2.2-2.5.4": {
"suite": "test/page/standards.test.mjs",
"how": "probe: no-motion"
},
"wcag-2.2-2.5.7": {
"suite": "test/page/standards.test.mjs",
"how": "absent: [draggable=true]"
},
"wcag-2.2-2.5.8": {
"suite": "test/page/standards.test.mjs",
"how": "axe-core rules: target-size"
},
"wcag-2.2-3.1.1": {
"suite": "test/page/standards.test.mjs",
"how": "axe-core rules: html-has-lang, html-lang-valid, html-xml-lang-mismatch"
},
"wcag-2.2-3.1.2": {
"suite": "test/page/standards.test.mjs",
"how": "axe-core rules: valid-lang"
},
"wcag-2.2-3.2.1": {
"suite": "test/page/standards.test.mjs",
"how": "probe: keyboard"
},
"wcag-2.2-3.2.2": {
"suite": "test/page/standards.test.mjs",
"how": "probe: on-input"
},
"wcag-2.2-3.2.3": {
"suite": "test/page/standards.test.mjs",
"how": "probe: consistent-navigation"
},
"wcag-2.2-3.2.4": {
"suite": "test/page/standards.test.mjs",
"how": "probe: consistent-navigation"
},
"wcag-2.2-3.2.6": {
"suite": "test/page/standards.test.mjs",
"how": "probe: consistent-navigation"
},
"wcag-2.2-3.3.1": {
"suite": "test/page/standards.test.mjs",
"how": "probe: error-identification"
},
"wcag-2.2-3.3.2": {
"suite": "test/page/standards.test.mjs",
"how": "axe-core rules: form-field-multiple-labels, label, select-name"
},
"wcag-2.2-3.3.3": {
"suite": "test/page/standards.test.mjs",
"how": "probe: error-identification"
},
"wcag-2.2-3.3.4": {
"suite": "test/page/acts.test.mjs",
"how": "suite: review before send"
},
"wcag-2.2-3.3.7": {
"suite": "test/page/standards.test.mjs",
"how": "probe: redundant-entry"
},
"wcag-2.2-3.3.8": {
"suite": "test/page/standards.test.mjs",
"how": "absent: input[type=password]"
},
"wcag-2.2-4.1.2": {
"suite": "test/page/standards.test.mjs",
"how": "axe-core rules: aria-allowed-attr, aria-braille-equivalent, aria-command-name, aria-conditional-attr, aria-deprecated-role, aria-hidden-focus, aria-input-field-name, aria-prohibited-attr, aria-required-attr, aria-roledescription, aria-roles, aria-toggle-field-name, aria-tooltip-name, aria-valid-attr-value, aria-valid-attr, button-name, duplicate-id-aria, frame-title-unique, frame-title, input-button-name, label, nested-interactive, summary-name"
},
"wcag-2.2-4.1.3": {
"suite": "test/page/standards.test.mjs",
"how": "probe: status-messages"
}
},
"failing": {
"wcag-2.2-1.4.11": "the canonical frame's address field has a 1.6:1 edge; UOR-Foundation/template#93 raises it to 3:1",
"wcag-2.2-2.1.1": "Tab skips the canonical frame's #github and #share; UOR-Foundation/template#93 ends the omnibox's edit on Tab",
"wcag-2.2-2.1.4": "site/app.mjs (template-locked) opens the spec on '.' alone; UOR-Foundation/template#93 removes the shortcut",
"wcag-2.2-2.4.7": "the canonical frame's #home link draws no focus ring; UOR-Foundation/template#93 draws one"
}
},
{
"key": "wai-aria-1.2",
"title": "W3C Accessible Rich Internet Applications 1.2",
"issuer": "W3C",
"text": null,
"unpinned": "the ARIA roles, states and properties need pinning with an extractor, and WPT's aria suite as oracle",
"governs": [],
"text": {
"url": "https://www.w3.org/TR/wai-aria-1.2/",
"sha256": "c0fea16fc747779569ab754d2d25bca3e2b7e8a673b8ef5362aeb9ebc73a4849"
},
"governs": [
"site/card.mjs",
"site/app.mjs",
"site/surface/surface.mjs"
],
"realizedBy": [
"ST-01"
]
],
"inventories": [
{
"extract": "aria-html"
}
],
"enforcedByKind": {
"abstract role": {
"suite": "test/page/standards.test.mjs",
"how": "axe-core rules: aria-roles"
},
"role": {
"suite": "test/page/standards.test.mjs",
"how": "axe-core rules: aria-roles, aria-allowed-role, aria-deprecated-role, aria-required-attr, aria-required-children, aria-required-parent, aria-allowed-attr, aria-prohibited-attr"
},
"state": {
"suite": "test/page/standards.test.mjs",
"how": "axe-core rules: aria-valid-attr, aria-valid-attr-value, aria-allowed-attr, aria-conditional-attr, aria-prohibited-attr, aria-required-attr, aria-hidden-focus, aria-hidden-body"
},
"property": {
"suite": "test/page/standards.test.mjs",
"how": "axe-core rules: aria-valid-attr, aria-valid-attr-value, aria-allowed-attr, aria-conditional-attr, aria-prohibited-attr, aria-required-attr, aria-braille-equivalent, aria-roledescription"
}
}
},
{
"key": "accname-1.2",
Expand Down Expand Up @@ -588,7 +869,6 @@
"app/src/RoutingProofs.lex.tex",
"app/src/Security.lex.tex",
"app/src/VocabProofs.lex.tex",
"site/app.mjs",
"site/coherence/coherence.mjs",
"site/coherence/sense.mjs",
"site/coherence/today.mjs",
Expand Down Expand Up @@ -635,7 +915,6 @@
"site/source/services.mjs",
"site/source/shape.mjs",
"site/spec.mjs",
"site/surface/surface.mjs",
"site/time/rhythm.mjs",
"site/uorc/guest.mjs",
"site/uorc/objects.mjs",
Expand Down
Loading
Loading