@radicaltools/cli 0.5.0 → 0.6.1

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.
@@ -0,0 +1,871 @@
1
+ {
2
+ "hub": {
3
+ "id": "concern-accessibility",
4
+ "category": "concern",
5
+ "name": "Accessibility",
6
+ "description": "Whether everyone can use the web front end, people with disabilities and assistive technology included: the WCAG level it conforms to, the law it answers to (European Accessibility Act, Web Accessibility Directive), how it is tested, the accessibility statement, and what a failure found does to a change.",
7
+ "tags": [
8
+ "ux",
9
+ "accessibility",
10
+ "wcag",
11
+ "wcag 2.2",
12
+ "en 301 549",
13
+ "european accessibility act",
14
+ "axe-core",
15
+ "screen reader",
16
+ "keyboard"
17
+ ],
18
+ "requiredMetamodel": "c4-ddd-governance-builtin",
19
+ "concern": {
20
+ "id": "accessibility",
21
+ "trigger": "LIST RELATIONS WHERE source.type = \"person\" AND target.type = \"webapp\" AND target.external != true",
22
+ "applyTo": "target",
23
+ "why": "people use these web front ends, so the accessibility level they conform to, the law they answer to, and how that is tested and stated has to be decided.",
24
+ "group": "ux"
25
+ },
26
+ "sources": [
27
+ {
28
+ "title": "W3C: Web Content Accessibility Guidelines (WCAG) 2.2",
29
+ "url": "https://www.w3.org/TR/WCAG22/"
30
+ },
31
+ {
32
+ "title": "ETSI EN 301 549 V3.2.1: Accessibility requirements for ICT products and services",
33
+ "url": "https://www.etsi.org/deliver/etsi_en/301500_301599/301549/03.02.01_60/en_301549v030201p.pdf"
34
+ },
35
+ {
36
+ "title": "Directive (EU) 2019/882, the European Accessibility Act",
37
+ "url": "https://eur-lex.europa.eu/eli/dir/2019/882/oj"
38
+ },
39
+ {
40
+ "title": "Directive (EU) 2016/2102, the Web Accessibility Directive",
41
+ "url": "https://eur-lex.europa.eu/eli/dir/2016/2102/oj"
42
+ },
43
+ {
44
+ "title": "Commission Implementing Decision (EU) 2018/1523, the model accessibility statement",
45
+ "url": "https://eur-lex.europa.eu/eli/dec_impl/2018/1523/oj"
46
+ },
47
+ {
48
+ "title": "W3C WAI: Developing an Accessibility Statement",
49
+ "url": "https://www.w3.org/WAI/planning/statements/"
50
+ },
51
+ {
52
+ "title": "W3C WAI: Evaluating Web Accessibility Overview",
53
+ "url": "https://www.w3.org/WAI/test-evaluate/"
54
+ },
55
+ {
56
+ "title": "W3C: Understanding SC 2.4.11 Focus Not Obscured (Minimum)",
57
+ "url": "https://www.w3.org/WAI/WCAG22/Understanding/focus-not-obscured-minimum.html"
58
+ },
59
+ {
60
+ "title": "axe-core: API, rule tags",
61
+ "url": "https://github.com/dequelabs/axe-core/blob/develop/doc/API.md"
62
+ },
63
+ {
64
+ "title": "@axe-core/playwright",
65
+ "url": "https://github.com/dequelabs/axe-core-npm/tree/develop/packages/playwright"
66
+ },
67
+ {
68
+ "title": "Playwright: Accessibility testing",
69
+ "url": "https://playwright.dev/docs/accessibility-testing"
70
+ }
71
+ ],
72
+ "templateParams": [
73
+ {
74
+ "key": "LEVEL",
75
+ "title": "Conformance",
76
+ "label": "Which level must the front end conform to?",
77
+ "hint": "The level decides which success criteria apply and which automated rules run. EN 301 549, and through it the European Accessibility Act and the Web Accessibility Directive, rests on WCAG level AA.",
78
+ "defaultValue": "wcag22aa",
79
+ "options": [
80
+ {
81
+ "value": "wcag22aa",
82
+ "label": "WCAG 2.2 level AA",
83
+ "description": "The current W3C recommendation. It includes everything of 2.1 AA, so it also meets EN 301 549 V3.2.1, which points at 2.1 AA, and adds focus not obscured, dragging alternatives, consistent help and accessible authentication. Pick it for every new front end."
84
+ },
85
+ {
86
+ "value": "aaa",
87
+ "label": "WCAG 2.2 level AA, and level AAA where feasible",
88
+ "description": "AA, plus the AAA criteria taken on one by one where the content allows (enhanced contrast of 7:1, link purpose from the link alone, no timing), with the automated AAA rules switched on. W3C does not advise AAA as a policy for whole sites. Pick it for services used mostly by older people or people with low vision or cognitive disabilities, or when a contract asks for it."
89
+ },
90
+ {
91
+ "value": "wcag21aa",
92
+ "label": "WCAG 2.1 level AA",
93
+ "description": "The level EN 301 549 V3.2.1 names today, without the nine criteria 2.2 added. Pick it only for an existing front end being brought up to standard, with a dated plan to move to 2.2."
94
+ }
95
+ ]
96
+ },
97
+ {
98
+ "key": "SCOPE",
99
+ "title": "Legal frame",
100
+ "label": "Which accessibility law does the front end answer to?",
101
+ "hint": "The law decides who may enforce it, what must be published, and which exemptions exist. The level above is the technical answer to each of them.",
102
+ "defaultValue": "eaa",
103
+ "options": [
104
+ {
105
+ "value": "eaa",
106
+ "label": "the European Accessibility Act",
107
+ "description": "A consumer product or service offered in the EU (online shops, consumer banking, e-books, passenger transport, electronic communications), from 28 June 2025. Microenterprises that provide services are exempt. Pick it for anything sold or offered to consumers in the EU."
108
+ },
109
+ {
110
+ "value": "public",
111
+ "label": "the Web Accessibility Directive",
112
+ "description": "A website or app of a public-sector body in the EU: national, regional and local authorities and bodies governed by public law. It requires a published accessibility statement with a feedback mechanism. Pick it for public services."
113
+ },
114
+ {
115
+ "value": "internal",
116
+ "label": "no accessibility law of its own (an internal tool)",
117
+ "description": "A tool used only by the organisation's own staff. No product law applies, but employment equality law (Directive 2000/78/EC) asks for reasonable accommodation of employees with disabilities, and a tool that excludes them has to be replaced or worked around. Pick it for back-office and internal tools."
118
+ }
119
+ ]
120
+ },
121
+ {
122
+ "key": "AT_TESTING",
123
+ "title": "Assistive technology",
124
+ "label": "Is the front end tested with assistive technology?",
125
+ "hint": "Automated rules find only part of the failures: whether a screen reader announces a control sensibly, or a journey makes sense without sight, takes a person.",
126
+ "defaultValue": "manual",
127
+ "options": [
128
+ {
129
+ "value": "manual",
130
+ "label": "a screen-reader pass before each release (NVDA and VoiceOver)",
131
+ "description": "Before each release candidate is released, someone completes the main journeys with NVDA on Windows and VoiceOver on macOS and iOS and records the pass. Pick it for public services, consumer products, and anything with complex widgets (date pickers, comboboxes, drag and drop)."
132
+ },
133
+ {
134
+ "value": "automated",
135
+ "label": "automated checks only",
136
+ "description": "axe-core and the keyboard walk on every pull request, and no screen-reader pass. Pick it for internal tools built entirely from a tested accessible component library, and record the risk."
137
+ }
138
+ ]
139
+ },
140
+ {
141
+ "key": "STATEMENT",
142
+ "title": "Statement",
143
+ "label": "Is an accessibility statement published?",
144
+ "hint": "A statement tells users how accessible the front end is, what is not and what to do instead, and how to report a problem. Public bodies must publish one; the European Accessibility Act asks service providers to make the same information available.",
145
+ "defaultValue": "published",
146
+ "options": [
147
+ {
148
+ "value": "published",
149
+ "label": "an accessibility statement, published and kept current",
150
+ "description": "A statement after the EU model, linked from every page's footer, reviewed at least once a year. Pick it always for the public sector, and for consumer services under the European Accessibility Act."
151
+ },
152
+ {
153
+ "value": "none",
154
+ "label": "no accessibility statement",
155
+ "description": "Nothing is published. Pick it only for internal tools, where staff reach the team directly; not with the Web Accessibility Directive, which requires a statement."
156
+ }
157
+ ]
158
+ },
159
+ {
160
+ "key": "FAILURES",
161
+ "title": "Failures",
162
+ "label": "What does a serious or critical violation found by the automated checks do?",
163
+ "hint": "Blocking keeps the front end clean but can stop a release for a third-party widget; tracking lets work go on, and only works with a deadline someone checks.",
164
+ "defaultValue": "blocking",
165
+ "options": [
166
+ {
167
+ "value": "blocking",
168
+ "label": "it blocks the change until it is fixed",
169
+ "description": "A serious or critical violation fails the pull request; there is no list of accepted violations. Pick it for new front ends and wherever the components are your own."
170
+ },
171
+ {
172
+ "value": "deadline",
173
+ "label": "it is tracked and fixed within a set number of days",
174
+ "description": "A violation that cannot be fixed in the change is listed with an issue and a due date within the days set below; the build fails on any violation not listed, and a nightly check fails once a due date has passed. Pick it for an existing front end being brought up to standard, or one with third-party widgets you cannot change at once."
175
+ }
176
+ ]
177
+ },
178
+ {
179
+ "key": "FIX_DAYS",
180
+ "label": "With tracking: within how many days must a tracked violation be fixed?",
181
+ "defaultValue": "30",
182
+ "type": "number"
183
+ }
184
+ ]
185
+ },
186
+ "nodes": [
187
+ {
188
+ "id": "need",
189
+ "type": "need",
190
+ "label": "Everyone can use it",
191
+ "x": 0,
192
+ "y": 0,
193
+ "kind": "brief",
194
+ "source": "Hub concern pack: Accessibility",
195
+ "description": "People with disabilities use this front end with a keyboard, a screen reader, magnification or voice control, and the law may require that they can. Every function of the main journeys must work for them, to a WCAG level that is decided and checked on every change, with what automated checks cannot see tested by people, what is not yet accessible stated openly, and failures fixed on a schedule rather than when someone complains. The checks assume Playwright tests under tests/a11y with tests/a11y/pages.ts listing the pages of the main journeys (PAGES: path) and the states worth checking (STATES: a name, a path and, where needed, the steps that open a dialog, show a form's errors or empty a list); playwright.config sets the baseURL and, for pages behind sign-in, a storageState. Each test fails on its own in a plain run and, run by radical sense playwright, writes what it measured as a radical-metrics/1 file into RADICAL_METRICS_DIR."
196
+ },
197
+ {
198
+ "id": "req-conformance",
199
+ "type": "requirement",
200
+ "label": "Conforms to the chosen WCAG level",
201
+ "x": 260,
202
+ "y": 0,
203
+ "ears_type": "ubiquitous",
204
+ "action": "conform to {{LEVEL}} on every page of the main journeys and in each of their states (open dialogs and menus, error messages, empty and loading states); a serious or critical violation found by the automated checks is handled as decided: {{FAILURES}}",
205
+ "rationale": "WCAG level AA is what EN 301 549 requires and so what the European Accessibility Act and the Web Accessibility Directive presume conformity by (W3C WCAG 2.2; EN 301 549 clause 9). Dialogs and error states are where automated checks most often find failures, so they are checked as states, not only pages. Reflow and target size are decided and measured in the Mobile and perceived performance pack; link purpose, consistent navigation and how form errors are shown in the Usability pack."
206
+ },
207
+ {
208
+ "id": "req-keyboard",
209
+ "type": "requirement",
210
+ "label": "Operable by keyboard alone",
211
+ "x": 260,
212
+ "y": 130,
213
+ "ears_type": "ubiquitous",
214
+ "action": "let every function of the main journeys be operated with the keyboard alone, with no keyboard trap, a visible focus indicator on every focused control, and no focused control entirely hidden by sticky headers, footers or other content",
215
+ "rationale": "Keyboard access is what screen readers, switch access and voice control build on (WCAG 2.1.1 Keyboard, 2.1.2 No Keyboard Trap, 2.4.7 Focus Visible, 2.4.11 Focus Not Obscured (Minimum), new in 2.2). Automated rules cannot walk a journey, so a test does."
216
+ },
217
+ {
218
+ "id": "req-at-manual",
219
+ "type": "requirement",
220
+ "label": "Screen-reader pass before release",
221
+ "x": 260,
222
+ "y": 260,
223
+ "ears_type": "event-driven",
224
+ "trigger": "a release candidate is built",
225
+ "action": "complete the main journeys with NVDA and Firefox or Chrome on Windows and with VoiceOver and Safari on macOS and iOS, record the pass, and fix every blocker found before the candidate is released",
226
+ "rationale": "Whether a control is announced with a sensible name, role and state, and whether a journey makes sense without sight, only a person with the assistive technology can tell (W3C WAI, Evaluating Web Accessibility). NVDA and VoiceOver with those browsers are the most used free combinations.",
227
+ "hubWhen": {
228
+ "AT_TESTING": [
229
+ "manual"
230
+ ]
231
+ }
232
+ },
233
+ {
234
+ "id": "req-statement",
235
+ "type": "requirement",
236
+ "label": "Accessibility statement published and current",
237
+ "x": 260,
238
+ "y": 390,
239
+ "ears_type": "ubiquitous",
240
+ "action": "publish an accessibility statement, linked from the footer of every page, that states the conformance status against {{LEVEL}}, the content that is not accessible with the reason and the alternative, how to report a problem or ask for content in another form, the enforcement procedure, and the date of its last review, reviewed at least once every 365 days",
241
+ "rationale": "The Web Accessibility Directive (Article 7) requires a statement after the model of Implementing Decision (EU) 2018/1523, with a feedback mechanism and a link to the enforcement procedure; the European Accessibility Act (Annex V) asks service providers to make the same information available; a statement is only worth something while it is current (W3C WAI, Developing an Accessibility Statement).",
242
+ "hubWhen": {
243
+ "STATEMENT": [
244
+ "published"
245
+ ]
246
+ }
247
+ },
248
+ {
249
+ "id": "req-failures-blocking",
250
+ "type": "requirement",
251
+ "label": "Violations block the change",
252
+ "x": 260,
253
+ "y": 520,
254
+ "ears_type": "unwanted-behaviour",
255
+ "unwanted_condition": "a change brings a serious or critical violation found by the automated checks",
256
+ "action": "refuse to merge the change until the violation is fixed, keeping no list of accepted violations",
257
+ "rationale": "A violation fixed in the change that brought it costs minutes; one shipped is found by a user, or by an enforcement body (W3C WAI, Evaluating Web Accessibility).",
258
+ "hubWhen": {
259
+ "FAILURES": [
260
+ "blocking"
261
+ ]
262
+ }
263
+ },
264
+ {
265
+ "id": "req-failures-deadline",
266
+ "type": "requirement",
267
+ "label": "Violations fixed by a deadline",
268
+ "x": 260,
269
+ "y": 650,
270
+ "ears_type": "event-driven",
271
+ "trigger": "a serious or critical violation found by the automated checks cannot be fixed in the change that finds it",
272
+ "action": "record it in tests/a11y/known.json with its rule, the state it appears in, an issue and a due date at most {{FIX_DAYS}} days after it was found, and fail the nightly check once the due date has passed",
273
+ "rationale": "An existing front end or a third-party widget may not be fixable at once; a list with issues and due dates keeps the debt visible and bounded, and the statement can name it as content not yet accessible.",
274
+ "hubWhen": {
275
+ "FAILURES": [
276
+ "deadline"
277
+ ]
278
+ }
279
+ },
280
+ {
281
+ "id": "sc-conformance",
282
+ "type": "scenario",
283
+ "label": "Page passes accessibility checks",
284
+ "x": 520,
285
+ "y": 0,
286
+ "given": "each page of the main journeys in each listed state",
287
+ "when": "the automated checks run",
288
+ "then": "no serious or critical violation is reported that is not handled as decided"
289
+ },
290
+ {
291
+ "id": "sc-keyboard",
292
+ "type": "scenario",
293
+ "label": "Main journey by keyboard",
294
+ "x": 520,
295
+ "y": 130,
296
+ "given": "the main journey",
297
+ "when": "it is walked with Tab, Shift+Tab, Enter, Space and the arrow keys only",
298
+ "then": "every step is reached and completed, and focus is visible and not hidden at every step"
299
+ },
300
+ {
301
+ "id": "sc-at-manual",
302
+ "type": "scenario",
303
+ "label": "Journeys completed with screen readers",
304
+ "x": 520,
305
+ "y": 260,
306
+ "given": "a release candidate",
307
+ "when": "the main journeys are walked with NVDA on Windows and VoiceOver on macOS and iOS",
308
+ "then": "the pass is recorded, and the candidate is released only with no open blocker",
309
+ "hubWhen": {
310
+ "AT_TESTING": [
311
+ "manual"
312
+ ]
313
+ }
314
+ },
315
+ {
316
+ "id": "sc-statement",
317
+ "type": "scenario",
318
+ "label": "Statement linked and current",
319
+ "x": 520,
320
+ "y": 390,
321
+ "given": "the pages of the main journeys and the statement",
322
+ "when": "the statement test runs",
323
+ "then": "every page links the statement from its footer, the statement has each required section, and its last review is at most 365 days old",
324
+ "hubWhen": {
325
+ "STATEMENT": [
326
+ "published"
327
+ ]
328
+ }
329
+ },
330
+ {
331
+ "id": "sc-failures-blocking",
332
+ "type": "scenario",
333
+ "label": "Violation blocks the merge",
334
+ "x": 520,
335
+ "y": 520,
336
+ "given": "a pull request that adds an image button without an accessible name",
337
+ "when": "the automated checks run",
338
+ "then": "the check fails, naming the state, the rule and the element, and the pull request cannot be merged",
339
+ "hubWhen": {
340
+ "FAILURES": [
341
+ "blocking"
342
+ ]
343
+ }
344
+ },
345
+ {
346
+ "id": "sc-failures-deadline",
347
+ "type": "scenario",
348
+ "label": "Overdue violation fails the night",
349
+ "x": 520,
350
+ "y": 650,
351
+ "given": "a tracked violation whose due date has passed",
352
+ "when": "the nightly check runs",
353
+ "then": "it fails, naming the violation and its issue",
354
+ "hubWhen": {
355
+ "FAILURES": [
356
+ "deadline"
357
+ ]
358
+ }
359
+ },
360
+ {
361
+ "id": "adr-a11y-eaa",
362
+ "type": "adr",
363
+ "label": "Accessible under the European Accessibility Act",
364
+ "x": 780,
365
+ "y": 0,
366
+ "concern": "accessibility",
367
+ "status": "accepted",
368
+ "date": "",
369
+ "context": "People with disabilities use this web front end with a keyboard, a screen reader, magnification, voice control or switch access, and many more people with a temporary injury, a bright screen or an old phone. The forces: accessibility is a legal duty in the EU (the European Accessibility Act for consumer products and services from 28 June 2025, the Web Accessibility Directive for the public sector, both presuming conformity through EN 301 549 and so WCAG) and in many other markets; it is cheap when built into components and expensive when retrofitted page by page; automated checkers find only part of the failures, so keyboard walks and screen-reader passes are needed for the rest; a failure found late either blocks a release or is shipped with a promise, and promises without a date are forgotten; and an accessibility statement is required of public bodies and expected of everyone, and is only worth something while it is true.",
370
+ "decision": "The front end is a consumer service under the European Accessibility Act (Directive (EU) 2019/882, applying from 28 June 2025) and conforms to {{LEVEL}}, the technical basis of EN 301 549, the harmonised standard that presumes conformity. Every page and state of the main journeys is checked by axe-core and walked with the keyboard on every pull request; assistive technology: {{AT_TESTING}}; a serious or critical violation found: {{FAILURES}}. Statement: {{STATEMENT}}; Annex V asks for the information on how the service meets the requirements in the terms and conditions or another public place, so the statement is the place it is kept. A claim that a requirement would be a disproportionate burden (Article 14) is assessed and documented before it is relied on, never assumed. Reflow and target size are decided and measured in the Mobile and perceived performance pack; link purpose, consistent navigation and how form errors are shown in the Usability pack.",
371
+ "consequences": "• Market surveillance authorities can act on a complaint; the checks and the statement are the evidence of conformity.\n• Accessible components are built once in the design system and reused, which is where most of the cost goes.\n• Third-party widgets (payment, chat, maps) must meet the level too, so their accessibility is part of choosing them.\n• Content that is not yet accessible is stated, with an alternative, rather than hidden.",
372
+ "alternatives": "1. Accessibility only where a complaint arrives: cheaper at first, and a legal risk from June 2025.\n2. An overlay widget that claims to fix accessibility at run time: does not make the front end conform, and is criticised by disabled users.\n3. A separate accessible version of the site: falls behind the main one and is not equal treatment.",
373
+ "hubWhen": {
374
+ "SCOPE": [
375
+ "eaa"
376
+ ]
377
+ }
378
+ },
379
+ {
380
+ "id": "adr-a11y-public",
381
+ "type": "adr",
382
+ "label": "Accessible under the Web Accessibility Directive",
383
+ "x": 780,
384
+ "y": 130,
385
+ "concern": "accessibility",
386
+ "status": "accepted",
387
+ "date": "",
388
+ "context": "People with disabilities use this web front end with a keyboard, a screen reader, magnification, voice control or switch access, and many more people with a temporary injury, a bright screen or an old phone. The forces: accessibility is a legal duty in the EU (the European Accessibility Act for consumer products and services from 28 June 2025, the Web Accessibility Directive for the public sector, both presuming conformity through EN 301 549 and so WCAG) and in many other markets; it is cheap when built into components and expensive when retrofitted page by page; automated checkers find only part of the failures, so keyboard walks and screen-reader passes are needed for the rest; a failure found late either blocks a release or is shipped with a promise, and promises without a date are forgotten; and an accessibility statement is required of public bodies and expected of everyone, and is only worth something while it is true.",
389
+ "decision": "The front end belongs to a public-sector body under the Web Accessibility Directive (Directive (EU) 2016/2102) and conforms to {{LEVEL}}, the technical basis of EN 301 549. Every page and state of the main journeys is checked by axe-core and walked with the keyboard on every pull request; assistive technology: {{AT_TESTING}}; a serious or critical violation found: {{FAILURES}}. Statement: {{STATEMENT}}; the Directive (Article 7) requires one after the model of Implementing Decision (EU) 2018/1523, with a feedback mechanism people use to report problems and ask for content in another form, and a link to the enforcement procedure, so a statement is not optional here. Reflow and target size are decided and measured in the Mobile and perceived performance pack; link purpose, consistent navigation and how form errors are shown in the Usability pack.",
390
+ "consequences": "• The national monitoring body checks samples of public sites and apps; the checks and the statement are what it reads.\n• The feedback mechanism needs someone who answers, with the response time the member state sets.\n• Content exempt under the Directive (older office files, third-party content not under the body's control) is listed in the statement, not left unsaid.",
391
+ "alternatives": "1. Accessibility only where a complaint arrives: does not meet the Directive.\n2. An overlay widget: does not make the front end conform.\n3. A separate accessible version: falls behind and is not equal treatment.",
392
+ "hubWhen": {
393
+ "SCOPE": [
394
+ "public"
395
+ ]
396
+ }
397
+ },
398
+ {
399
+ "id": "adr-a11y-internal",
400
+ "type": "adr",
401
+ "label": "An internal tool usable by every employee",
402
+ "x": 780,
403
+ "y": 260,
404
+ "concern": "accessibility",
405
+ "status": "accepted",
406
+ "date": "",
407
+ "context": "People with disabilities use this web front end with a keyboard, a screen reader, magnification, voice control or switch access, and many more people with a temporary injury, a bright screen or an old phone. The forces: accessibility is a legal duty in the EU (the European Accessibility Act for consumer products and services from 28 June 2025, the Web Accessibility Directive for the public sector, both presuming conformity through EN 301 549 and so WCAG) and in many other markets; it is cheap when built into components and expensive when retrofitted page by page; automated checkers find only part of the failures, so keyboard walks and screen-reader passes are needed for the rest; a failure found late either blocks a release or is shipped with a promise, and promises without a date are forgotten; and an accessibility statement is required of public bodies and expected of everyone, and is only worth something while it is true.",
408
+ "decision": "The front end is an internal tool, outside the European Accessibility Act and the Web Accessibility Directive, and still conforms to {{LEVEL}}: employment equality law (Directive 2000/78/EC, Article 5) asks for reasonable accommodation of employees with disabilities, and a tool that one employee cannot use has to be fixed or worked around at a worse moment. Every page and state of the main journeys is checked by axe-core and walked with the keyboard on every pull request; assistive technology: {{AT_TESTING}}; a serious or critical violation found: {{FAILURES}}. Statement: {{STATEMENT}}. Reflow and target size are decided and measured in the Mobile and perceived performance pack; link purpose, consistent navigation and how form errors are shown in the Usability pack.",
409
+ "consequences": "• No regulator, but the same level: a new colleague with a disability can start on day one.\n• The same accessible components serve internal and public front ends alike.\n• Should the tool later be offered to customers, it is already at the level the Act asks for.",
410
+ "alternatives": "1. Accessibility on request, when an employee needs it: a retrofit under time pressure, for one person who waits.\n2. A lower level (WCAG level A): fewer checks, and keyboard and contrast failures that affect many more people than screen-reader users.",
411
+ "hubWhen": {
412
+ "SCOPE": [
413
+ "internal"
414
+ ]
415
+ }
416
+ },
417
+ {
418
+ "id": "ff-axe-wcag22aa",
419
+ "type": "fitness-fn",
420
+ "label": "No accessibility violations",
421
+ "x": 1040,
422
+ "y": 0,
423
+ "characteristic": "interaction-capability",
424
+ "scope": "holistic",
425
+ "cadence": "triggered",
426
+ "trigger": "pull-request",
427
+ "invocation": "automated",
428
+ "description": "A Playwright test opens each page of the main journeys in each state that matters (STATES in tests/a11y/pages.ts: open dialogs and menus, a form showing its errors, an empty list) and runs axe-core on it with the rules of WCAG 2.2 level AA. It writes a11y.violations{impact=critical|serious|moderate|minor}, the elements found per impact and a11y.states, the states checked (a run that checked none measured nothing), and fails on any serious or critical violation, naming the state, rule and elements. The target-size rule is switched off: target size is decided and measured in the Mobile and perceived performance pack. Automated rules find only part of the failures; the keyboard walk and, where decided, the screen-reader pass cover more. Bind it with radical sense playwright tests/a11y/axe.spec.ts and the conditions a11y.violations{impact=critical} <= 0 and a11y.violations{impact=serious} <= 0.\n\nThreshold: a11y.violations{impact=critical} = 0 and a11y.violations{impact=serious} = 0 on every page and state of the main journeys, against the axe rules tagged wcag2a, wcag2aa, wcag21a, wcag21aa, wcag22aa\n\nTool: axe-core with Playwright (@axe-core/playwright 4.x, @playwright/test), measured by radical sense playwright\n\n```ts\n// tests/a11y/axe.spec.ts: a plain Playwright test (1.50 or later), or measured with\n// radical sense playwright tests/a11y/axe.spec.ts\nimport { mkdirSync, writeFileSync } from 'node:fs'\nimport { join } from 'node:path'\nimport AxeBuilder from '@axe-core/playwright'\nimport { expect, test } from '@playwright/test'\nimport { STATES } from './pages' // [{ name: 'checkout, address error', path: '/checkout', open: async (page) => { … } }, …]\n\nconst TAGS = ['wcag2a', 'wcag2aa', 'wcag21a', 'wcag21aa', 'wcag22aa'] // WCAG 2.2 level AA\n\ntype Measurement = { metric: string; value: number; unit?: string; labels?: Record<string, string> }\n/** Writes what the test measured where radical sense playwright reads it; a plain run writes nothing. */\nfunction writeMetrics(file: string, measurements: Measurement[]): void {\n const dir = process.env.RADICAL_METRICS_DIR\n if (!dir) return\n mkdirSync(dir, { recursive: true })\n writeFileSync(join(dir, file), JSON.stringify({ format: 'radical-metrics', version: 1, source: file, at: new Date().toISOString(), measurements }, null, 1))\n}\n\ntest('the main journeys meet WCAG 2.2 level AA', async ({ page }) => {\n const byImpact: Record<string, number> = { critical: 0, serious: 0, moderate: 0, minor: 0 }\n const failing: string[] = []\n for (const state of STATES) {\n await page.goto(state.path)\n await state.open?.(page)\n const { violations } = await new AxeBuilder({ page })\n .withTags(TAGS)\n .disableRules(['target-size']) // decided and measured in the Mobile and perceived performance pack\n .analyze()\n for (const v of violations) {\n byImpact[v.impact ?? 'minor'] += v.nodes.length\n if (v.impact !== 'serious' && v.impact !== 'critical') continue\n failing.push(`${state.name}: ${v.id} (${v.impact}) at ${v.nodes.map((n) => n.target.join(' ')).join(', ')}`)\n }\n }\n writeMetrics('axe.json', [\n ...Object.entries(byImpact).map(([impact, value]) => ({ metric: 'a11y.violations', value, labels: { impact } })),\n { metric: 'a11y.states', value: STATES.length },\n ])\n expect(failing, 'serious and critical violations').toEqual([])\n})\n```",
429
+ "hubWhen": {
430
+ "LEVEL": [
431
+ "wcag22aa"
432
+ ],
433
+ "FAILURES": [
434
+ "blocking"
435
+ ]
436
+ }
437
+ },
438
+ {
439
+ "id": "ff-axe-wcag22aa-tracked",
440
+ "type": "fitness-fn",
441
+ "label": "No untracked accessibility violations",
442
+ "x": 1040,
443
+ "y": 130,
444
+ "characteristic": "interaction-capability",
445
+ "scope": "holistic",
446
+ "cadence": "triggered",
447
+ "trigger": "pull-request",
448
+ "invocation": "automated",
449
+ "description": "A Playwright test opens each page of the main journeys in each state that matters (STATES in tests/a11y/pages.ts: open dialogs and menus, a form showing its errors, an empty list) and runs axe-core on it with the rules of WCAG 2.2 level AA. It writes a11y.violations{impact=critical|serious|moderate|minor}, the elements found per impact, a11y.violations.untracked, the serious and critical violations (rule and state) not listed in tests/a11y/known.json, and a11y.states, the states checked (a run that checked none measured nothing), and fails on an untracked serious or critical violation, naming the state, rule and elements. The target-size rule is switched off: target size is decided and measured in the Mobile and perceived performance pack. Automated rules find only part of the failures; the keyboard walk and, where decided, the screen-reader pass cover more. Bind it with radical sense playwright tests/a11y/axe.spec.ts and the condition a11y.violations.untracked <= 0.\n\nThreshold: a11y.violations.untracked = 0: every serious or critical violation of the axe rules tagged wcag2a, wcag2aa, wcag21a, wcag21aa, wcag22aa on the pages and states of the main journeys is listed in tests/a11y/known.json with an issue and a due date\n\nTool: axe-core with Playwright (@axe-core/playwright 4.x, @playwright/test), measured by radical sense playwright\n\n```ts\n// tests/a11y/axe.spec.ts: a plain Playwright test (1.50 or later), or measured with\n// radical sense playwright tests/a11y/axe.spec.ts\nimport { existsSync, mkdirSync, readFileSync, writeFileSync } from 'node:fs'\nimport { join } from 'node:path'\nimport AxeBuilder from '@axe-core/playwright'\nimport { expect, test } from '@playwright/test'\nimport { STATES } from './pages' // [{ name: 'checkout, address error', path: '/checkout', open: async (page) => { … } }, …]\n\nconst TAGS = ['wcag2a', 'wcag2aa', 'wcag21a', 'wcag21aa', 'wcag22aa'] // WCAG 2.2 level AA\nconst KNOWN = 'tests/a11y/known.json' // [{ rule, state, issue, found, due }]: the violations tracked to a deadline\n\ntype Measurement = { metric: string; value: number; unit?: string; labels?: Record<string, string> }\n/** Writes what the test measured where radical sense playwright reads it; a plain run writes nothing. */\nfunction writeMetrics(file: string, measurements: Measurement[]): void {\n const dir = process.env.RADICAL_METRICS_DIR\n if (!dir) return\n mkdirSync(dir, { recursive: true })\n writeFileSync(join(dir, file), JSON.stringify({ format: 'radical-metrics', version: 1, source: file, at: new Date().toISOString(), measurements }, null, 1))\n}\n\ntest('the main journeys meet WCAG 2.2 level AA', async ({ page }) => {\n const known: Array<{ rule: string; state: string }> = existsSync(KNOWN) ? JSON.parse(readFileSync(KNOWN, 'utf8')) : []\n const byImpact: Record<string, number> = { critical: 0, serious: 0, moderate: 0, minor: 0 }\n const failing: string[] = []\n for (const state of STATES) {\n await page.goto(state.path)\n await state.open?.(page)\n const { violations } = await new AxeBuilder({ page })\n .withTags(TAGS)\n .disableRules(['target-size']) // decided and measured in the Mobile and perceived performance pack\n .analyze()\n for (const v of violations) {\n byImpact[v.impact ?? 'minor'] += v.nodes.length\n if (v.impact !== 'serious' && v.impact !== 'critical') continue\n if (known.some((k) => k.rule === v.id && k.state === state.name)) continue\n failing.push(`${state.name}: ${v.id} (${v.impact}) at ${v.nodes.map((n) => n.target.join(' ')).join(', ')}`)\n }\n }\n writeMetrics('axe.json', [\n ...Object.entries(byImpact).map(([impact, value]) => ({ metric: 'a11y.violations', value, labels: { impact } })),\n { metric: 'a11y.violations.untracked', value: failing.length },\n { metric: 'a11y.states', value: STATES.length },\n ])\n expect(failing, 'serious and critical violations not in tests/a11y/known.json').toEqual([])\n})\n```",
450
+ "hubWhen": {
451
+ "LEVEL": [
452
+ "wcag22aa"
453
+ ],
454
+ "FAILURES": [
455
+ "deadline"
456
+ ]
457
+ }
458
+ },
459
+ {
460
+ "id": "ff-axe-aaa",
461
+ "type": "fitness-fn",
462
+ "label": "No accessibility violations",
463
+ "x": 1040,
464
+ "y": 260,
465
+ "characteristic": "interaction-capability",
466
+ "scope": "holistic",
467
+ "cadence": "triggered",
468
+ "trigger": "pull-request",
469
+ "invocation": "automated",
470
+ "description": "A Playwright test opens each page of the main journeys in each state that matters (STATES in tests/a11y/pages.ts: open dialogs and menus, a form showing its errors, an empty list) and runs axe-core on it with the rules of WCAG 2.2 level AA and the AAA rules axe automates. It writes a11y.violations{impact=critical|serious|moderate|minor}, the elements found per impact and a11y.states, the states checked (a run that checked none measured nothing), and fails on any serious or critical violation, naming the state, rule and elements. The target-size rule is switched off: target size is decided and measured in the Mobile and perceived performance pack. Automated rules find only part of the failures; the keyboard walk and, where decided, the screen-reader pass cover more. Bind it with radical sense playwright tests/a11y/axe.spec.ts and the conditions a11y.violations{impact=critical} <= 0 and a11y.violations{impact=serious} <= 0.\n\nThreshold: a11y.violations{impact=critical} = 0 and a11y.violations{impact=serious} = 0 on every page and state of the main journeys, against the axe rules tagged wcag2a, wcag2aa, wcag21a, wcag21aa, wcag22aa, wcag2aaa\n\nTool: axe-core with Playwright (@axe-core/playwright 4.x, @playwright/test), measured by radical sense playwright\n\n```ts\n// tests/a11y/axe.spec.ts: a plain Playwright test (1.50 or later), or measured with\n// radical sense playwright tests/a11y/axe.spec.ts\nimport { mkdirSync, writeFileSync } from 'node:fs'\nimport { join } from 'node:path'\nimport AxeBuilder from '@axe-core/playwright'\nimport { expect, test } from '@playwright/test'\nimport { STATES } from './pages' // [{ name: 'checkout, address error', path: '/checkout', open: async (page) => { … } }, …]\n\nconst TAGS = ['wcag2a', 'wcag2aa', 'wcag21a', 'wcag21aa', 'wcag22aa', 'wcag2aaa'] // WCAG 2.2 level AA and the AAA rules axe automates\n\ntype Measurement = { metric: string; value: number; unit?: string; labels?: Record<string, string> }\n/** Writes what the test measured where radical sense playwright reads it; a plain run writes nothing. */\nfunction writeMetrics(file: string, measurements: Measurement[]): void {\n const dir = process.env.RADICAL_METRICS_DIR\n if (!dir) return\n mkdirSync(dir, { recursive: true })\n writeFileSync(join(dir, file), JSON.stringify({ format: 'radical-metrics', version: 1, source: file, at: new Date().toISOString(), measurements }, null, 1))\n}\n\ntest('the main journeys meet WCAG 2.2 level AA and the AAA rules axe automates', async ({ page }) => {\n const byImpact: Record<string, number> = { critical: 0, serious: 0, moderate: 0, minor: 0 }\n const failing: string[] = []\n for (const state of STATES) {\n await page.goto(state.path)\n await state.open?.(page)\n const { violations } = await new AxeBuilder({ page })\n .withTags(TAGS)\n .disableRules(['target-size']) // decided and measured in the Mobile and perceived performance pack\n .analyze()\n for (const v of violations) {\n byImpact[v.impact ?? 'minor'] += v.nodes.length\n if (v.impact !== 'serious' && v.impact !== 'critical') continue\n failing.push(`${state.name}: ${v.id} (${v.impact}) at ${v.nodes.map((n) => n.target.join(' ')).join(', ')}`)\n }\n }\n writeMetrics('axe.json', [\n ...Object.entries(byImpact).map(([impact, value]) => ({ metric: 'a11y.violations', value, labels: { impact } })),\n { metric: 'a11y.states', value: STATES.length },\n ])\n expect(failing, 'serious and critical violations').toEqual([])\n})\n```",
471
+ "hubWhen": {
472
+ "LEVEL": [
473
+ "aaa"
474
+ ],
475
+ "FAILURES": [
476
+ "blocking"
477
+ ]
478
+ }
479
+ },
480
+ {
481
+ "id": "ff-axe-aaa-tracked",
482
+ "type": "fitness-fn",
483
+ "label": "No untracked accessibility violations",
484
+ "x": 1040,
485
+ "y": 390,
486
+ "characteristic": "interaction-capability",
487
+ "scope": "holistic",
488
+ "cadence": "triggered",
489
+ "trigger": "pull-request",
490
+ "invocation": "automated",
491
+ "description": "A Playwright test opens each page of the main journeys in each state that matters (STATES in tests/a11y/pages.ts: open dialogs and menus, a form showing its errors, an empty list) and runs axe-core on it with the rules of WCAG 2.2 level AA and the AAA rules axe automates. It writes a11y.violations{impact=critical|serious|moderate|minor}, the elements found per impact, a11y.violations.untracked, the serious and critical violations (rule and state) not listed in tests/a11y/known.json, and a11y.states, the states checked (a run that checked none measured nothing), and fails on an untracked serious or critical violation, naming the state, rule and elements. The target-size rule is switched off: target size is decided and measured in the Mobile and perceived performance pack. Automated rules find only part of the failures; the keyboard walk and, where decided, the screen-reader pass cover more. Bind it with radical sense playwright tests/a11y/axe.spec.ts and the condition a11y.violations.untracked <= 0.\n\nThreshold: a11y.violations.untracked = 0: every serious or critical violation of the axe rules tagged wcag2a, wcag2aa, wcag21a, wcag21aa, wcag22aa, wcag2aaa on the pages and states of the main journeys is listed in tests/a11y/known.json with an issue and a due date\n\nTool: axe-core with Playwright (@axe-core/playwright 4.x, @playwright/test), measured by radical sense playwright\n\n```ts\n// tests/a11y/axe.spec.ts: a plain Playwright test (1.50 or later), or measured with\n// radical sense playwright tests/a11y/axe.spec.ts\nimport { existsSync, mkdirSync, readFileSync, writeFileSync } from 'node:fs'\nimport { join } from 'node:path'\nimport AxeBuilder from '@axe-core/playwright'\nimport { expect, test } from '@playwright/test'\nimport { STATES } from './pages' // [{ name: 'checkout, address error', path: '/checkout', open: async (page) => { … } }, …]\n\nconst TAGS = ['wcag2a', 'wcag2aa', 'wcag21a', 'wcag21aa', 'wcag22aa', 'wcag2aaa'] // WCAG 2.2 level AA and the AAA rules axe automates\nconst KNOWN = 'tests/a11y/known.json' // [{ rule, state, issue, found, due }]: the violations tracked to a deadline\n\ntype Measurement = { metric: string; value: number; unit?: string; labels?: Record<string, string> }\n/** Writes what the test measured where radical sense playwright reads it; a plain run writes nothing. */\nfunction writeMetrics(file: string, measurements: Measurement[]): void {\n const dir = process.env.RADICAL_METRICS_DIR\n if (!dir) return\n mkdirSync(dir, { recursive: true })\n writeFileSync(join(dir, file), JSON.stringify({ format: 'radical-metrics', version: 1, source: file, at: new Date().toISOString(), measurements }, null, 1))\n}\n\ntest('the main journeys meet WCAG 2.2 level AA and the AAA rules axe automates', async ({ page }) => {\n const known: Array<{ rule: string; state: string }> = existsSync(KNOWN) ? JSON.parse(readFileSync(KNOWN, 'utf8')) : []\n const byImpact: Record<string, number> = { critical: 0, serious: 0, moderate: 0, minor: 0 }\n const failing: string[] = []\n for (const state of STATES) {\n await page.goto(state.path)\n await state.open?.(page)\n const { violations } = await new AxeBuilder({ page })\n .withTags(TAGS)\n .disableRules(['target-size']) // decided and measured in the Mobile and perceived performance pack\n .analyze()\n for (const v of violations) {\n byImpact[v.impact ?? 'minor'] += v.nodes.length\n if (v.impact !== 'serious' && v.impact !== 'critical') continue\n if (known.some((k) => k.rule === v.id && k.state === state.name)) continue\n failing.push(`${state.name}: ${v.id} (${v.impact}) at ${v.nodes.map((n) => n.target.join(' ')).join(', ')}`)\n }\n }\n writeMetrics('axe.json', [\n ...Object.entries(byImpact).map(([impact, value]) => ({ metric: 'a11y.violations', value, labels: { impact } })),\n { metric: 'a11y.violations.untracked', value: failing.length },\n { metric: 'a11y.states', value: STATES.length },\n ])\n expect(failing, 'serious and critical violations not in tests/a11y/known.json').toEqual([])\n})\n```",
492
+ "hubWhen": {
493
+ "LEVEL": [
494
+ "aaa"
495
+ ],
496
+ "FAILURES": [
497
+ "deadline"
498
+ ]
499
+ }
500
+ },
501
+ {
502
+ "id": "ff-axe-wcag21aa",
503
+ "type": "fitness-fn",
504
+ "label": "No accessibility violations",
505
+ "x": 1040,
506
+ "y": 520,
507
+ "characteristic": "interaction-capability",
508
+ "scope": "holistic",
509
+ "cadence": "triggered",
510
+ "trigger": "pull-request",
511
+ "invocation": "automated",
512
+ "description": "A Playwright test opens each page of the main journeys in each state that matters (STATES in tests/a11y/pages.ts: open dialogs and menus, a form showing its errors, an empty list) and runs axe-core on it with the rules of WCAG 2.1 level AA. It writes a11y.violations{impact=critical|serious|moderate|minor}, the elements found per impact and a11y.states, the states checked (a run that checked none measured nothing), and fails on any serious or critical violation, naming the state, rule and elements. Automated rules find only part of the failures; the keyboard walk and, where decided, the screen-reader pass cover more. Bind it with radical sense playwright tests/a11y/axe.spec.ts and the conditions a11y.violations{impact=critical} <= 0 and a11y.violations{impact=serious} <= 0.\n\nThreshold: a11y.violations{impact=critical} = 0 and a11y.violations{impact=serious} = 0 on every page and state of the main journeys, against the axe rules tagged wcag2a, wcag2aa, wcag21a, wcag21aa\n\nTool: axe-core with Playwright (@axe-core/playwright 4.x, @playwright/test), measured by radical sense playwright\n\n```ts\n// tests/a11y/axe.spec.ts: a plain Playwright test (1.50 or later), or measured with\n// radical sense playwright tests/a11y/axe.spec.ts\nimport { mkdirSync, writeFileSync } from 'node:fs'\nimport { join } from 'node:path'\nimport AxeBuilder from '@axe-core/playwright'\nimport { expect, test } from '@playwright/test'\nimport { STATES } from './pages' // [{ name: 'checkout, address error', path: '/checkout', open: async (page) => { … } }, …]\n\nconst TAGS = ['wcag2a', 'wcag2aa', 'wcag21a', 'wcag21aa'] // WCAG 2.1 level AA\n\ntype Measurement = { metric: string; value: number; unit?: string; labels?: Record<string, string> }\n/** Writes what the test measured where radical sense playwright reads it; a plain run writes nothing. */\nfunction writeMetrics(file: string, measurements: Measurement[]): void {\n const dir = process.env.RADICAL_METRICS_DIR\n if (!dir) return\n mkdirSync(dir, { recursive: true })\n writeFileSync(join(dir, file), JSON.stringify({ format: 'radical-metrics', version: 1, source: file, at: new Date().toISOString(), measurements }, null, 1))\n}\n\ntest('the main journeys meet WCAG 2.1 level AA', async ({ page }) => {\n const byImpact: Record<string, number> = { critical: 0, serious: 0, moderate: 0, minor: 0 }\n const failing: string[] = []\n for (const state of STATES) {\n await page.goto(state.path)\n await state.open?.(page)\n const { violations } = await new AxeBuilder({ page })\n .withTags(TAGS)\n .analyze()\n for (const v of violations) {\n byImpact[v.impact ?? 'minor'] += v.nodes.length\n if (v.impact !== 'serious' && v.impact !== 'critical') continue\n failing.push(`${state.name}: ${v.id} (${v.impact}) at ${v.nodes.map((n) => n.target.join(' ')).join(', ')}`)\n }\n }\n writeMetrics('axe.json', [\n ...Object.entries(byImpact).map(([impact, value]) => ({ metric: 'a11y.violations', value, labels: { impact } })),\n { metric: 'a11y.states', value: STATES.length },\n ])\n expect(failing, 'serious and critical violations').toEqual([])\n})\n```",
513
+ "hubWhen": {
514
+ "LEVEL": [
515
+ "wcag21aa"
516
+ ],
517
+ "FAILURES": [
518
+ "blocking"
519
+ ]
520
+ }
521
+ },
522
+ {
523
+ "id": "ff-axe-wcag21aa-tracked",
524
+ "type": "fitness-fn",
525
+ "label": "No untracked accessibility violations",
526
+ "x": 1040,
527
+ "y": 650,
528
+ "characteristic": "interaction-capability",
529
+ "scope": "holistic",
530
+ "cadence": "triggered",
531
+ "trigger": "pull-request",
532
+ "invocation": "automated",
533
+ "description": "A Playwright test opens each page of the main journeys in each state that matters (STATES in tests/a11y/pages.ts: open dialogs and menus, a form showing its errors, an empty list) and runs axe-core on it with the rules of WCAG 2.1 level AA. It writes a11y.violations{impact=critical|serious|moderate|minor}, the elements found per impact, a11y.violations.untracked, the serious and critical violations (rule and state) not listed in tests/a11y/known.json, and a11y.states, the states checked (a run that checked none measured nothing), and fails on an untracked serious or critical violation, naming the state, rule and elements. Automated rules find only part of the failures; the keyboard walk and, where decided, the screen-reader pass cover more. Bind it with radical sense playwright tests/a11y/axe.spec.ts and the condition a11y.violations.untracked <= 0.\n\nThreshold: a11y.violations.untracked = 0: every serious or critical violation of the axe rules tagged wcag2a, wcag2aa, wcag21a, wcag21aa on the pages and states of the main journeys is listed in tests/a11y/known.json with an issue and a due date\n\nTool: axe-core with Playwright (@axe-core/playwright 4.x, @playwright/test), measured by radical sense playwright\n\n```ts\n// tests/a11y/axe.spec.ts: a plain Playwright test (1.50 or later), or measured with\n// radical sense playwright tests/a11y/axe.spec.ts\nimport { existsSync, mkdirSync, readFileSync, writeFileSync } from 'node:fs'\nimport { join } from 'node:path'\nimport AxeBuilder from '@axe-core/playwright'\nimport { expect, test } from '@playwright/test'\nimport { STATES } from './pages' // [{ name: 'checkout, address error', path: '/checkout', open: async (page) => { … } }, …]\n\nconst TAGS = ['wcag2a', 'wcag2aa', 'wcag21a', 'wcag21aa'] // WCAG 2.1 level AA\nconst KNOWN = 'tests/a11y/known.json' // [{ rule, state, issue, found, due }]: the violations tracked to a deadline\n\ntype Measurement = { metric: string; value: number; unit?: string; labels?: Record<string, string> }\n/** Writes what the test measured where radical sense playwright reads it; a plain run writes nothing. */\nfunction writeMetrics(file: string, measurements: Measurement[]): void {\n const dir = process.env.RADICAL_METRICS_DIR\n if (!dir) return\n mkdirSync(dir, { recursive: true })\n writeFileSync(join(dir, file), JSON.stringify({ format: 'radical-metrics', version: 1, source: file, at: new Date().toISOString(), measurements }, null, 1))\n}\n\ntest('the main journeys meet WCAG 2.1 level AA', async ({ page }) => {\n const known: Array<{ rule: string; state: string }> = existsSync(KNOWN) ? JSON.parse(readFileSync(KNOWN, 'utf8')) : []\n const byImpact: Record<string, number> = { critical: 0, serious: 0, moderate: 0, minor: 0 }\n const failing: string[] = []\n for (const state of STATES) {\n await page.goto(state.path)\n await state.open?.(page)\n const { violations } = await new AxeBuilder({ page })\n .withTags(TAGS)\n .analyze()\n for (const v of violations) {\n byImpact[v.impact ?? 'minor'] += v.nodes.length\n if (v.impact !== 'serious' && v.impact !== 'critical') continue\n if (known.some((k) => k.rule === v.id && k.state === state.name)) continue\n failing.push(`${state.name}: ${v.id} (${v.impact}) at ${v.nodes.map((n) => n.target.join(' ')).join(', ')}`)\n }\n }\n writeMetrics('axe.json', [\n ...Object.entries(byImpact).map(([impact, value]) => ({ metric: 'a11y.violations', value, labels: { impact } })),\n { metric: 'a11y.violations.untracked', value: failing.length },\n { metric: 'a11y.states', value: STATES.length },\n ])\n expect(failing, 'serious and critical violations not in tests/a11y/known.json').toEqual([])\n})\n```",
534
+ "hubWhen": {
535
+ "LEVEL": [
536
+ "wcag21aa"
537
+ ],
538
+ "FAILURES": [
539
+ "deadline"
540
+ ]
541
+ }
542
+ },
543
+ {
544
+ "id": "ff-keyboard",
545
+ "type": "fitness-fn",
546
+ "label": "Main journey by keyboard",
547
+ "x": 1040,
548
+ "y": 780,
549
+ "characteristic": "interaction-capability",
550
+ "scope": "holistic",
551
+ "cadence": "triggered",
552
+ "trigger": "pull-request",
553
+ "invocation": "automated",
554
+ "description": "A Playwright test walks the main journey without the mouse: for each step it presses Tab until the control (found by its role and accessible name) has focus, checks that the focused control shows an outline or a box shadow and that something of it can be seen (at its centre or one of its corners nothing else is drawn on top), then types and presses Enter or Space as the step says. A control not reached within 200 presses (a missing tabindex, or focus caught in a trap) ends the walk. It writes a11y.keyboard.unreachable, a11y.focus.invisible and a11y.focus.obscured and fails on any. A control that shows its focus on another element (a custom checkbox styled through its label) needs its own check in focusState. Bind it with radical sense playwright tests/a11y/keyboard.spec.ts and the conditions a11y.keyboard.unreachable <= 0, a11y.focus.invisible <= 0 and a11y.focus.obscured <= 0.\n\nThreshold: a11y.keyboard.unreachable = 0, a11y.focus.invisible = 0 and a11y.focus.obscured = 0: the main journey completes with the keyboard alone, every step is reached with Tab within 200 presses, and every focused control shows a focus indicator and is not entirely hidden\n\nTool: Playwright (@playwright/test), measured by radical sense playwright\n\n```ts\n// tests/a11y/keyboard.spec.ts: a plain Playwright test (1.50 or later), or measured with\n// radical sense playwright tests/a11y/keyboard.spec.ts\nimport { mkdirSync, writeFileSync } from 'node:fs'\nimport { join } from 'node:path'\nimport { expect, test, type Locator, type Page } from '@playwright/test'\n\n/** A step of the journey: the control by its role and accessible name, what to type, and the key that activates it. */\ntype Step = { role: Parameters<Page['getByRole']>[0]; name: string; type?: string; key?: 'Enter' | 'Space' }\nconst JOURNEY: Step[] = [\n { role: 'searchbox', name: 'Search', type: 'trail shoes', key: 'Enter' },\n { role: 'link', name: 'Trail runner 2', key: 'Enter' },\n { role: 'button', name: 'Add to basket', key: 'Enter' },\n { role: 'link', name: 'Checkout', key: 'Enter' },\n { role: 'checkbox', name: 'I accept the terms', key: 'Space' },\n { role: 'button', name: 'Place order', key: 'Enter' },\n]\nconst DONE = 'Order placed' // the heading the journey ends on\nconst MAX_TABS = 200\n\ntype Measurement = { metric: string; value: number; unit?: string; labels?: Record<string, string> }\n/** Writes what the test measured where radical sense playwright reads it; a plain run writes nothing. */\nfunction writeMetrics(file: string, measurements: Measurement[]): void {\n const dir = process.env.RADICAL_METRICS_DIR\n if (!dir) return\n mkdirSync(dir, { recursive: true })\n writeFileSync(join(dir, file), JSON.stringify({ format: 'radical-metrics', version: 1, source: file, at: new Date().toISOString(), measurements }, null, 1))\n}\n\n/** Presses Tab until the control has focus; false when it is not reached within MAX_TABS presses. */\nasync function tabTo(page: Page, target: Locator): Promise<boolean> {\n for (let i = 0; i <= MAX_TABS; i++) {\n if (await target.evaluateAll((els) => els.some((el) => el === document.activeElement))) return true\n await page.keyboard.press('Tab')\n }\n return false\n}\n\n/** Whether the focused control shows a focus indicator, and whether it is entirely hidden by something drawn over it. */\nconst focusState = (page: Page) => page.evaluate(() => {\n const el = document.activeElement as HTMLElement\n const style = getComputedStyle(el)\n const indicated = (style.outlineStyle !== 'none' && parseFloat(style.outlineWidth) > 0) || style.boxShadow !== 'none'\n const r = el.getBoundingClientRect()\n const hits = [[0.5, 0.5], [0.1, 0.1], [0.9, 0.1], [0.1, 0.9], [0.9, 0.9]].map(([x, y]) => document.elementFromPoint(r.left + r.width * x, r.top + r.height * y))\n return { indicated, hidden: hits.every((hit) => !hit || !(hit === el || el.contains(hit))) }\n})\n\ntest('the main journey completes with the keyboard alone', async ({ page }) => {\n const unreachable: string[] = [], invisible: string[] = [], obscured: string[] = []\n await page.goto('/')\n for (const step of JOURNEY) {\n if (!(await tabTo(page, page.getByRole(step.role, { name: step.name, exact: true })))) { unreachable.push(step.name); break }\n const focus = await focusState(page)\n if (!focus.indicated) invisible.push(step.name)\n if (focus.hidden) obscured.push(step.name)\n if (step.type) await page.keyboard.type(step.type)\n if (step.key) await page.keyboard.press(step.key)\n }\n writeMetrics('keyboard.json', [\n { metric: 'a11y.keyboard.unreachable', value: unreachable.length },\n { metric: 'a11y.focus.invisible', value: invisible.length },\n { metric: 'a11y.focus.obscured', value: obscured.length },\n ])\n expect.soft(unreachable, 'not reached with Tab: a missing tabindex, or focus caught in a trap').toEqual([])\n expect.soft(invisible, 'focused without a visible indicator').toEqual([])\n expect.soft(obscured, 'focused under a sticky header, footer or dialog').toEqual([])\n if (!unreachable.length) await expect(page.getByRole('heading', { name: DONE })).toBeVisible()\n})\n```"
555
+ },
556
+ {
557
+ "id": "ff-screen-reader",
558
+ "type": "fitness-fn",
559
+ "label": "Screen-reader pass recorded",
560
+ "x": 1040,
561
+ "y": 910,
562
+ "characteristic": "interaction-capability",
563
+ "scope": "holistic",
564
+ "cadence": "triggered",
565
+ "trigger": "release",
566
+ "invocation": "manual",
567
+ "description": "Before a release candidate is released, a tester who uses screen readers regularly walks every main journey with each combination, ticks the checklist and records each blocker as an issue. The record is committed under docs/accessibility/at-passes/, one file per release; the release checklist asks for it and for its blockers to be closed. Where a combination is not available in-house, an external accessibility tester or a user panel takes it.\n\nThreshold: One pass record per release candidate covering every main journey with NVDA on Windows and VoiceOver on macOS and iOS; 0 open blockers when the candidate is released\n\nTool: NVDA with Firefox or Chrome (Windows), VoiceOver with Safari (macOS and iOS); a pass record in the repository (Markdown)\n\n```md\n<!-- docs/accessibility/at-passes/v1.8.0.md: one file per release candidate, before it is released -->\n# Assistive technology pass, release v1.8.0\n\nTester: B. Tester, 2026-11-24\n\n| Journey | NVDA + Firefox or Chrome (Windows) | VoiceOver + Safari (macOS) | VoiceOver + Safari (iOS) | Blockers |\n|---|---|---|---|---|\n| Sign up | completed | completed | completed | |\n| Place an order | completed | blocked: the delivery date picker announces no dates | completed | #418 |\n\nChecked on every journey, with each combination:\n- [ ] it completes without sight of the screen\n- [ ] headings and landmarks give the page's structure; the page title names the page\n- [ ] every control announces its name, role and state (expanded, selected, checked)\n- [ ] errors and status messages are announced without moving focus away (WCAG 4.1.3)\n- [ ] dialogs take focus, keep it inside while open, and return it to the control that opened them\n- [ ] images that carry meaning are described; decorative ones are silent\n- [ ] at 200% browser zoom and in Windows contrast themes (forced colours) the journey still completes\n\nOutcome: 1 blocker; the release waits until #418 is closed.\n```",
568
+ "hubWhen": {
569
+ "AT_TESTING": [
570
+ "manual"
571
+ ]
572
+ }
573
+ },
574
+ {
575
+ "id": "ff-statement",
576
+ "type": "fitness-fn",
577
+ "label": "Statement linked and current",
578
+ "x": 1040,
579
+ "y": 1040,
580
+ "characteristic": "interaction-capability",
581
+ "scope": "holistic",
582
+ "cadence": "triggered",
583
+ "trigger": "nightly",
584
+ "invocation": "automated",
585
+ "description": "A nightly Playwright test (nightly because the statement ages without any change) opens every page of the main journeys and looks for the statement link in the footer (contentinfo landmark), then opens the statement and looks for each required heading and for a <time datetime> in the paragraph that says when it was last reviewed. It writes a11y.statement.unlinked, the pages without the link, a11y.statement.missing, the sections or review date missing, and a11y.statement.age, the days since the last review, and fails on any page without the link, a missing section, or a review older than 365 days. SECTIONS are the headings of the EU model statement; a statement under the European Accessibility Act or for an internal tool lists its own. Bind it with radical sense playwright tests/a11y/statement.spec.ts and the conditions a11y.statement.unlinked <= 0, a11y.statement.missing <= 0 and a11y.statement.age <= 365 d.\n\nThreshold: a11y.statement.unlinked = 0, a11y.statement.missing = 0 and a11y.statement.age <= 365 d: every page of the main journeys links the statement from its footer, the statement has each required section and the date of its last review, and that date is at most 365 days old\n\nTool: Playwright (@playwright/test), measured by radical sense playwright\n\n```ts\n// tests/a11y/statement.spec.ts: a plain Playwright test (1.50 or later), or measured with\n// radical sense playwright tests/a11y/statement.spec.ts\nimport { mkdirSync, writeFileSync } from 'node:fs'\nimport { join } from 'node:path'\nimport { expect, test } from '@playwright/test'\nimport { PAGES } from './pages' // [{ path: '/' }, { path: '/checkout' }, …]: the main journeys' pages\n\nconst LINK = 'Accessibility statement' // the footer link's name\nconst STATEMENT = '/accessibility'\n// The headings of the EU model statement (Implementing Decision (EU) 2018/1523)\nconst SECTIONS = ['Compliance status', 'Non-accessible content', 'Preparation of this accessibility statement', 'Feedback and contact information', 'Enforcement procedure']\nconst MAX_AGE_DAYS = 365\n\ntype Measurement = { metric: string; value: number; unit?: string; labels?: Record<string, string> }\n/** Writes what the test measured where radical sense playwright reads it; a plain run writes nothing. */\nfunction writeMetrics(file: string, measurements: Measurement[]): void {\n const dir = process.env.RADICAL_METRICS_DIR\n if (!dir) return\n mkdirSync(dir, { recursive: true })\n writeFileSync(join(dir, file), JSON.stringify({ format: 'radical-metrics', version: 1, source: file, at: new Date().toISOString(), measurements }, null, 1))\n}\n\ntest('the accessibility statement is linked from every page and current', async ({ page }) => {\n const unlinked: string[] = []\n for (const { path } of PAGES) {\n await page.goto(path)\n if (!(await page.getByRole('contentinfo').getByRole('link', { name: LINK }).count())) unlinked.push(path)\n }\n await page.goto(STATEMENT)\n const missing: string[] = []\n for (const name of SECTIONS) if (!(await page.getByRole('heading', { name }).count())) missing.push(name)\n // \"This statement was last reviewed on <time datetime=\"2026-09-30\">30 September 2026</time>.\"\n const reviewed = await page.locator('main p', { hasText: /last reviewed/i }).locator('time[datetime]').first()\n .getAttribute('datetime', { timeout: 2_000 }).catch(() => null)\n const age = reviewed ? Math.floor((Date.now() - Date.parse(reviewed)) / 86_400_000) : null\n if (age === null || Number.isNaN(age)) missing.push('the date of the last review')\n writeMetrics('statement.json', [\n { metric: 'a11y.statement.unlinked', value: unlinked.length },\n { metric: 'a11y.statement.missing', value: missing.length },\n ...(age !== null && !Number.isNaN(age) ? [{ metric: 'a11y.statement.age', value: age, unit: 'd' }] : []),\n ])\n expect.soft(unlinked, 'pages without the statement in their footer').toEqual([])\n expect.soft(missing, 'missing from the statement').toEqual([])\n expect.soft(age ?? Infinity, 'days since the statement was last reviewed').toBeLessThanOrEqual(MAX_AGE_DAYS)\n})\n```",
586
+ "hubWhen": {
587
+ "STATEMENT": [
588
+ "published"
589
+ ]
590
+ }
591
+ },
592
+ {
593
+ "id": "ff-a11y-deadlines",
594
+ "type": "fitness-fn",
595
+ "label": "Tracked violations fixed in time",
596
+ "x": 1040,
597
+ "y": 1170,
598
+ "characteristic": "interaction-capability",
599
+ "scope": "atomic",
600
+ "cadence": "triggered",
601
+ "trigger": "nightly",
602
+ "invocation": "automated",
603
+ "description": "A nightly job reads tests/a11y/known.json, the list the axe check accepts, and counts the entries past their due date, those due more than {{FIX_DAYS}} days after they were found, and those without an issue; it writes the counts to reports/a11y-known.json and fails on any, printing the entries concerned. A fixed violation is taken off the list in the change that fixes it; the axe check then fails if it comes back. Bind it with radical sense json reports/a11y-known.json --metric a11y.known.overdue=overdue --metric a11y.known.too_late=too_late --metric a11y.known.no_issue=no_issue --metric a11y.known.open=open, and the conditions a11y.known.overdue <= 0, a11y.known.too_late <= 0 and a11y.known.no_issue <= 0. Runs on Linux or macOS (jq 1.6 or later).\n\nThreshold: a11y.known.overdue = 0, a11y.known.too_late = 0 and a11y.known.no_issue = 0: no tracked violation is past its due date, none is due more than {{FIX_DAYS}} days after it was found, and every one names an issue\n\nTool: jq in a scheduled CI job, measured by radical sense json\n\n```bash\n#!/usr/bin/env bash\n# Nightly: the accessibility violations tracked in tests/a11y/known.json, e.g.\n# [{ \"rule\": \"color-contrast\", \"state\": \"checkout\", \"issue\": \"https://example.org/issues/412\", \"found\": \"2026-11-02\", \"due\": \"2026-12-02\" }]\nset -euo pipefail\nknown=tests/a11y/known.json\nfix_days={{FIX_DAYS}}\nmkdir -p reports\n[ -f \"$known\" ] || { echo '{\"open\":0,\"overdue\":0,\"too_late\":0,\"no_issue\":0}' > reports/a11y-known.json; exit 0; }\njq --arg today \"$(date -u +%F)\" --argjson days \"$fix_days\" '\n def day: strptime(\"%Y-%m-%d\") | mktime;\n { open: length,\n overdue: [.[] | select(.due < $today)] | length,\n too_late: [.[] | select((.due | day) - (.found | day) > $days * 86400)] | length,\n no_issue: [.[] | select((.issue // \"\") == \"\")] | length,\n entries: [.[] | select(.due < $today or (.issue // \"\") == \"\")] }' \"$known\" > reports/a11y-known.json\njq -e '.overdue == 0 and .too_late == 0 and .no_issue == 0' reports/a11y-known.json > /dev/null || {\n jq . reports/a11y-known.json\n echo \"::error::tracked accessibility violations past their due date, due more than $fix_days days after found, or without an issue\"\n exit 1\n}\n```",
604
+ "hubWhen": {
605
+ "FAILURES": [
606
+ "deadline"
607
+ ]
608
+ }
609
+ }
610
+ ],
611
+ "relations": [
612
+ {
613
+ "id": "req-conformance--derives--need",
614
+ "sourceId": "req-conformance",
615
+ "targetId": "need",
616
+ "relationType": "derives",
617
+ "quote": "People with disabilities use this front end with a keyboard, a screen reader, magnification or voice control, and the law may require that they can. Every function of the main journeys must work for them, to a WCAG level that is decided and checked on every change, with what automated checks cannot see tested by people, what is not yet accessible stated openly, and failures fixed on a schedule rather than when someone complains. The checks assume Playwright tests under tests/a11y with tests/a11y/pages.ts listing the pages of the main journeys (PAGES: path) and the states worth checking (STATES: a name, a path and, where needed, the steps that open a dialog, show a form's errors or empty a list); playwright.config sets the baseURL and, for pages behind sign-in, a storageState. Each test fails on its own in a plain run and, run by radical sense playwright, writes what it measured as a radical-metrics/1 file into RADICAL_METRICS_DIR."
618
+ },
619
+ {
620
+ "id": "req-keyboard--derives--need",
621
+ "sourceId": "req-keyboard",
622
+ "targetId": "need",
623
+ "relationType": "derives",
624
+ "quote": "People with disabilities use this front end with a keyboard, a screen reader, magnification or voice control, and the law may require that they can. Every function of the main journeys must work for them, to a WCAG level that is decided and checked on every change, with what automated checks cannot see tested by people, what is not yet accessible stated openly, and failures fixed on a schedule rather than when someone complains. The checks assume Playwright tests under tests/a11y with tests/a11y/pages.ts listing the pages of the main journeys (PAGES: path) and the states worth checking (STATES: a name, a path and, where needed, the steps that open a dialog, show a form's errors or empty a list); playwright.config sets the baseURL and, for pages behind sign-in, a storageState. Each test fails on its own in a plain run and, run by radical sense playwright, writes what it measured as a radical-metrics/1 file into RADICAL_METRICS_DIR."
625
+ },
626
+ {
627
+ "id": "req-at-manual--derives--need",
628
+ "sourceId": "req-at-manual",
629
+ "targetId": "need",
630
+ "relationType": "derives",
631
+ "quote": "People with disabilities use this front end with a keyboard, a screen reader, magnification or voice control, and the law may require that they can. Every function of the main journeys must work for them, to a WCAG level that is decided and checked on every change, with what automated checks cannot see tested by people, what is not yet accessible stated openly, and failures fixed on a schedule rather than when someone complains. The checks assume Playwright tests under tests/a11y with tests/a11y/pages.ts listing the pages of the main journeys (PAGES: path) and the states worth checking (STATES: a name, a path and, where needed, the steps that open a dialog, show a form's errors or empty a list); playwright.config sets the baseURL and, for pages behind sign-in, a storageState. Each test fails on its own in a plain run and, run by radical sense playwright, writes what it measured as a radical-metrics/1 file into RADICAL_METRICS_DIR."
632
+ },
633
+ {
634
+ "id": "req-statement--derives--need",
635
+ "sourceId": "req-statement",
636
+ "targetId": "need",
637
+ "relationType": "derives",
638
+ "quote": "People with disabilities use this front end with a keyboard, a screen reader, magnification or voice control, and the law may require that they can. Every function of the main journeys must work for them, to a WCAG level that is decided and checked on every change, with what automated checks cannot see tested by people, what is not yet accessible stated openly, and failures fixed on a schedule rather than when someone complains. The checks assume Playwright tests under tests/a11y with tests/a11y/pages.ts listing the pages of the main journeys (PAGES: path) and the states worth checking (STATES: a name, a path and, where needed, the steps that open a dialog, show a form's errors or empty a list); playwright.config sets the baseURL and, for pages behind sign-in, a storageState. Each test fails on its own in a plain run and, run by radical sense playwright, writes what it measured as a radical-metrics/1 file into RADICAL_METRICS_DIR."
639
+ },
640
+ {
641
+ "id": "req-failures-blocking--derives--need",
642
+ "sourceId": "req-failures-blocking",
643
+ "targetId": "need",
644
+ "relationType": "derives",
645
+ "quote": "People with disabilities use this front end with a keyboard, a screen reader, magnification or voice control, and the law may require that they can. Every function of the main journeys must work for them, to a WCAG level that is decided and checked on every change, with what automated checks cannot see tested by people, what is not yet accessible stated openly, and failures fixed on a schedule rather than when someone complains. The checks assume Playwright tests under tests/a11y with tests/a11y/pages.ts listing the pages of the main journeys (PAGES: path) and the states worth checking (STATES: a name, a path and, where needed, the steps that open a dialog, show a form's errors or empty a list); playwright.config sets the baseURL and, for pages behind sign-in, a storageState. Each test fails on its own in a plain run and, run by radical sense playwright, writes what it measured as a radical-metrics/1 file into RADICAL_METRICS_DIR."
646
+ },
647
+ {
648
+ "id": "req-failures-deadline--derives--need",
649
+ "sourceId": "req-failures-deadline",
650
+ "targetId": "need",
651
+ "relationType": "derives",
652
+ "quote": "People with disabilities use this front end with a keyboard, a screen reader, magnification or voice control, and the law may require that they can. Every function of the main journeys must work for them, to a WCAG level that is decided and checked on every change, with what automated checks cannot see tested by people, what is not yet accessible stated openly, and failures fixed on a schedule rather than when someone complains. The checks assume Playwright tests under tests/a11y with tests/a11y/pages.ts listing the pages of the main journeys (PAGES: path) and the states worth checking (STATES: a name, a path and, where needed, the steps that open a dialog, show a form's errors or empty a list); playwright.config sets the baseURL and, for pages behind sign-in, a storageState. Each test fails on its own in a plain run and, run by radical sense playwright, writes what it measured as a radical-metrics/1 file into RADICAL_METRICS_DIR."
653
+ },
654
+ {
655
+ "id": "sc-conformance--verifies--req-conformance",
656
+ "sourceId": "sc-conformance",
657
+ "targetId": "req-conformance",
658
+ "relationType": "verifies"
659
+ },
660
+ {
661
+ "id": "sc-keyboard--verifies--req-keyboard",
662
+ "sourceId": "sc-keyboard",
663
+ "targetId": "req-keyboard",
664
+ "relationType": "verifies"
665
+ },
666
+ {
667
+ "id": "sc-at-manual--verifies--req-at-manual",
668
+ "sourceId": "sc-at-manual",
669
+ "targetId": "req-at-manual",
670
+ "relationType": "verifies"
671
+ },
672
+ {
673
+ "id": "sc-statement--verifies--req-statement",
674
+ "sourceId": "sc-statement",
675
+ "targetId": "req-statement",
676
+ "relationType": "verifies"
677
+ },
678
+ {
679
+ "id": "sc-failures-blocking--verifies--req-failures-blocking",
680
+ "sourceId": "sc-failures-blocking",
681
+ "targetId": "req-failures-blocking",
682
+ "relationType": "verifies"
683
+ },
684
+ {
685
+ "id": "sc-failures-deadline--verifies--req-failures-deadline",
686
+ "sourceId": "sc-failures-deadline",
687
+ "targetId": "req-failures-deadline",
688
+ "relationType": "verifies"
689
+ },
690
+ {
691
+ "id": "ff-axe-wcag22aa--implements--adr-a11y-eaa",
692
+ "sourceId": "ff-axe-wcag22aa",
693
+ "targetId": "adr-a11y-eaa",
694
+ "relationType": "implements"
695
+ },
696
+ {
697
+ "id": "ff-axe-wcag22aa--implements--adr-a11y-public",
698
+ "sourceId": "ff-axe-wcag22aa",
699
+ "targetId": "adr-a11y-public",
700
+ "relationType": "implements"
701
+ },
702
+ {
703
+ "id": "ff-axe-wcag22aa--implements--adr-a11y-internal",
704
+ "sourceId": "ff-axe-wcag22aa",
705
+ "targetId": "adr-a11y-internal",
706
+ "relationType": "implements"
707
+ },
708
+ {
709
+ "id": "ff-axe-wcag22aa-tracked--implements--adr-a11y-eaa",
710
+ "sourceId": "ff-axe-wcag22aa-tracked",
711
+ "targetId": "adr-a11y-eaa",
712
+ "relationType": "implements"
713
+ },
714
+ {
715
+ "id": "ff-axe-wcag22aa-tracked--implements--adr-a11y-public",
716
+ "sourceId": "ff-axe-wcag22aa-tracked",
717
+ "targetId": "adr-a11y-public",
718
+ "relationType": "implements"
719
+ },
720
+ {
721
+ "id": "ff-axe-wcag22aa-tracked--implements--adr-a11y-internal",
722
+ "sourceId": "ff-axe-wcag22aa-tracked",
723
+ "targetId": "adr-a11y-internal",
724
+ "relationType": "implements"
725
+ },
726
+ {
727
+ "id": "ff-axe-aaa--implements--adr-a11y-eaa",
728
+ "sourceId": "ff-axe-aaa",
729
+ "targetId": "adr-a11y-eaa",
730
+ "relationType": "implements"
731
+ },
732
+ {
733
+ "id": "ff-axe-aaa--implements--adr-a11y-public",
734
+ "sourceId": "ff-axe-aaa",
735
+ "targetId": "adr-a11y-public",
736
+ "relationType": "implements"
737
+ },
738
+ {
739
+ "id": "ff-axe-aaa--implements--adr-a11y-internal",
740
+ "sourceId": "ff-axe-aaa",
741
+ "targetId": "adr-a11y-internal",
742
+ "relationType": "implements"
743
+ },
744
+ {
745
+ "id": "ff-axe-aaa-tracked--implements--adr-a11y-eaa",
746
+ "sourceId": "ff-axe-aaa-tracked",
747
+ "targetId": "adr-a11y-eaa",
748
+ "relationType": "implements"
749
+ },
750
+ {
751
+ "id": "ff-axe-aaa-tracked--implements--adr-a11y-public",
752
+ "sourceId": "ff-axe-aaa-tracked",
753
+ "targetId": "adr-a11y-public",
754
+ "relationType": "implements"
755
+ },
756
+ {
757
+ "id": "ff-axe-aaa-tracked--implements--adr-a11y-internal",
758
+ "sourceId": "ff-axe-aaa-tracked",
759
+ "targetId": "adr-a11y-internal",
760
+ "relationType": "implements"
761
+ },
762
+ {
763
+ "id": "ff-axe-wcag21aa--implements--adr-a11y-eaa",
764
+ "sourceId": "ff-axe-wcag21aa",
765
+ "targetId": "adr-a11y-eaa",
766
+ "relationType": "implements"
767
+ },
768
+ {
769
+ "id": "ff-axe-wcag21aa--implements--adr-a11y-public",
770
+ "sourceId": "ff-axe-wcag21aa",
771
+ "targetId": "adr-a11y-public",
772
+ "relationType": "implements"
773
+ },
774
+ {
775
+ "id": "ff-axe-wcag21aa--implements--adr-a11y-internal",
776
+ "sourceId": "ff-axe-wcag21aa",
777
+ "targetId": "adr-a11y-internal",
778
+ "relationType": "implements"
779
+ },
780
+ {
781
+ "id": "ff-axe-wcag21aa-tracked--implements--adr-a11y-eaa",
782
+ "sourceId": "ff-axe-wcag21aa-tracked",
783
+ "targetId": "adr-a11y-eaa",
784
+ "relationType": "implements"
785
+ },
786
+ {
787
+ "id": "ff-axe-wcag21aa-tracked--implements--adr-a11y-public",
788
+ "sourceId": "ff-axe-wcag21aa-tracked",
789
+ "targetId": "adr-a11y-public",
790
+ "relationType": "implements"
791
+ },
792
+ {
793
+ "id": "ff-axe-wcag21aa-tracked--implements--adr-a11y-internal",
794
+ "sourceId": "ff-axe-wcag21aa-tracked",
795
+ "targetId": "adr-a11y-internal",
796
+ "relationType": "implements"
797
+ },
798
+ {
799
+ "id": "ff-keyboard--implements--adr-a11y-eaa",
800
+ "sourceId": "ff-keyboard",
801
+ "targetId": "adr-a11y-eaa",
802
+ "relationType": "implements"
803
+ },
804
+ {
805
+ "id": "ff-keyboard--implements--adr-a11y-public",
806
+ "sourceId": "ff-keyboard",
807
+ "targetId": "adr-a11y-public",
808
+ "relationType": "implements"
809
+ },
810
+ {
811
+ "id": "ff-keyboard--implements--adr-a11y-internal",
812
+ "sourceId": "ff-keyboard",
813
+ "targetId": "adr-a11y-internal",
814
+ "relationType": "implements"
815
+ },
816
+ {
817
+ "id": "ff-screen-reader--implements--adr-a11y-eaa",
818
+ "sourceId": "ff-screen-reader",
819
+ "targetId": "adr-a11y-eaa",
820
+ "relationType": "implements"
821
+ },
822
+ {
823
+ "id": "ff-screen-reader--implements--adr-a11y-public",
824
+ "sourceId": "ff-screen-reader",
825
+ "targetId": "adr-a11y-public",
826
+ "relationType": "implements"
827
+ },
828
+ {
829
+ "id": "ff-screen-reader--implements--adr-a11y-internal",
830
+ "sourceId": "ff-screen-reader",
831
+ "targetId": "adr-a11y-internal",
832
+ "relationType": "implements"
833
+ },
834
+ {
835
+ "id": "ff-statement--implements--adr-a11y-eaa",
836
+ "sourceId": "ff-statement",
837
+ "targetId": "adr-a11y-eaa",
838
+ "relationType": "implements"
839
+ },
840
+ {
841
+ "id": "ff-statement--implements--adr-a11y-public",
842
+ "sourceId": "ff-statement",
843
+ "targetId": "adr-a11y-public",
844
+ "relationType": "implements"
845
+ },
846
+ {
847
+ "id": "ff-statement--implements--adr-a11y-internal",
848
+ "sourceId": "ff-statement",
849
+ "targetId": "adr-a11y-internal",
850
+ "relationType": "implements"
851
+ },
852
+ {
853
+ "id": "ff-a11y-deadlines--implements--adr-a11y-eaa",
854
+ "sourceId": "ff-a11y-deadlines",
855
+ "targetId": "adr-a11y-eaa",
856
+ "relationType": "implements"
857
+ },
858
+ {
859
+ "id": "ff-a11y-deadlines--implements--adr-a11y-public",
860
+ "sourceId": "ff-a11y-deadlines",
861
+ "targetId": "adr-a11y-public",
862
+ "relationType": "implements"
863
+ },
864
+ {
865
+ "id": "ff-a11y-deadlines--implements--adr-a11y-internal",
866
+ "sourceId": "ff-a11y-deadlines",
867
+ "targetId": "adr-a11y-internal",
868
+ "relationType": "implements"
869
+ }
870
+ ]
871
+ }