{"skills":[{"name":"Audit an accessible user journey","description":"Turn observed keyboard and screen-reader sessions into a step-by-step account of where someone can complete a task and where evidence is missing.","content":"# Audit an accessible user journey\n\nTurn observed keyboard and screen-reader sessions into a step-by-step account of where someone can complete a task and where evidence is missing.\n\n## When to use this skill\n\n- Someone has notes or recordings from testing a task such as checkout, booking, sign-up or password reset with a keyboard, screen reader, voice control or magnifier, and wants to know whether it can be completed.\n- A team wants to know which steps and methods still need testing before they say a journey works.\n- An accessibility statement or bug list needs a clear account of where one journey is blocked and for whom.\n\n## When not to use it\n\n- Declaring a whole website or app WCAG conformant. W3C's evaluation methodology says results from a sample cannot support a site-wide claim; that needs a full evaluation against an agreed scope.\n- Diagnosing one component in depth, such as a modal's focus handling, a contrast failure or form error text. Use the dedicated skill for that check and bring its result back into the journey record.\n- Judging how easy or pleasant the journey is for disabled people. That needs usability research with disabled participants; this method records whether each step was completed.\n\n## What you need\n\n- A real task, its required steps and branches including failure recovery and confirmation.\n- Observed outcomes per step for the named interaction methods, device and assistive technology; include the user's completion criterion.\n\n## Ask before you start\n\nIf any of these are missing or unclear, ask before doing the work.\n\n- What counts as finishing the task, for example the booking is confirmed and the person can perceive the confirmation? The finding depends on this end point.\n- Which interaction methods and set-ups must be covered: keyboard only, which screen reader with which browser, voice control, zoom? Untested methods can only be reported against an agreed list.\n- Which steps and branches does the journey include, such as correcting a validation error, a timeout, a permission prompt and the confirmation page?\n- Is the evidence from this build and these devices? Results from an earlier release or a different set-up do not carry over.\n\n## Method\n\n1. Agree the scope before reading any results: the task, its start and end points, the person's completion criterion, and each required method with its device, browser and assistive technology. WCAG-EM calls the last of these the accessibility support baseline.\n2. List the steps in order along the default path, then add each branch a person commonly needs to finish, such as correcting an error, adding a new address, a permission prompt, a timeout or the confirmation page. WCAG-EM requires both the default sequence and the critical branches of a complete process.\n3. Make a grid with one row per step and one column per required method. In each cell record only what was attempted and observed: completed, blocked (with what happened) or not tested, with a reference to the note or recording.\n4. Call a cell blocked only when the evidence shows the person could not continue by that method, for example focus could not reach a field or a control was not announced. A slow or awkward step that was still completed is a finding to report, not a blocker.\n5. Treat a step as covered only when every required method has a recorded completion. Mouse results, automated scans and a tester's expectation are not evidence for keyboard or screen-reader completion.\n6. After a blocker, list the later steps for that method as untested unless they were reached and tested another way. The outcome is blocked if any blocker exists, otherwise incomplete if any cell is untested, otherwise completed.\n7. For each blocker, name the WCAG 2.2 success criterion it most likely engages, such as 2.1.1 Keyboard, 2.4.3 Focus Order, 3.3.1 Error Identification or 4.1.2 Name, Role, Value, and say which retest would confirm the fix. Keep the judgement to this journey and this evidence.\n\n## Checks before you deliver\n\n- An automated screenshot or scan of the entry page does not exercise a later error state.\n- Someone may reach a confirmation page without hearing its message. The user's stated completion criterion governs the finding.\n- Results from one browser and screen reader pairing do not transfer to another. Record the pairing for each observation and report other pairings as untested.\n- Marking the steps after a blocker as passed because the tester skipped ahead by mouse hides the rest of the journey. They stay untested for that method.\n- A completed journey is not a conformance claim. WCAG 2.2 conformance requirement 5.2.3 needs every page in a process to conform at the target level, which this check does not test.\n\n## How to present the result\n\nStart with the outcome in one sentence: completed, blocked at a named step and method, or incomplete with the number of untested step and method pairs. Then give the grid with one row per step and one column per method, marked completed, blocked (with what happened) or untested. Follow with each blocker, its likely WCAG criterion and the retest that confirms a fix, then the list of tests still to run.\n\n## Worked example\n\n**Request:** Review a booking task. Required methods in order: keyboard, screen-reader. Steps in order: choose, correct, confirm.\n\n**Supplied material:**\n\n```text\nchoose: keyboard completed; screen-reader completed\ncorrect: keyboard blocked, focus cannot reach the invalid field; screen-reader not tested\nconfirm: keyboard not tested; screen-reader not tested\n```\n\n**Answer:** Booking is blocked at date correction. A keyboard user cannot reach the invalid field. Make the field reachable after validation and repeat the correction by keyboard. Test correction with the screen reader and confirm the completed booking with both methods.\n\n## Structured output for tests\n\nFor an ordinary job, answer in the format above and point back to the supplied evidence. Use this structure only for the test cases published with this skill, or when someone asks for structured JSON.\n\nReturn outcome as blocked if any method has an observed blocker, otherwise incomplete if any required step\/method is unobserved, otherwise completed. Return blockers and untested as arrays of {step,method}, in step order then requested method order.\n\n## Sources\n\n- [W3C WCAG Evaluation Methodology (WCAG-EM) 2.0](https:\/\/www.w3.org\/TR\/WCAG-EM\/): Step 3.3 requires every page or view in a complete process, following the default sequence and the commonly used, critical branches. Step 4.2 checks the content that changes along the way, including forms, dialogs, error messages and confirmations. It also says a selected sample cannot support a conformance claim for a whole website.\n- [WCAG 2.2 conformance requirement 5.2.3: Complete processes](https:\/\/www.w3.org\/TR\/WCAG22\/#cc3): When a page is one of a series presenting a process, every page in the process must conform at the target level, so one failing step stops the whole process conforming. This is why the skill reports the journey step by step and never counts partial success as a pass.\n\nTest cases and an answer checker for this skill: https:\/\/skills.raq.com\/skills\/audit-an-accessible-user-journey\n","scope":"contextual","trigger_keywords":["Audit an accessible user journey","audit-an-accessible-user-journey","audit an accessible user journey","Can someone using only a keyboard or a screen reader finish our checkout?","Can someone using only a keyboard or a screen reader finish our checkout","accessibility of this journey","keyboard-only journey","audit this user journey"],"is_private":true,"is_active":true,"scripts":[{"name":"audit-an-accessible-user-journey-check","description":"Compare a saved JSON answer with a published test. Pass tests\/case-1\/expected.json (or another case) and the path to your answer.","language":"python","filename":"audit-an-accessible-user-journey-check.py","content":"from pathlib import Path\nimport runpy\n\nrunpy.run_path(str(Path(__file__).parent \/ 'tests' \/ 'check.py'), run_name='__main__')\n","supporting_files":[{"path":"SKILL.md","content":"---\nname: audit-an-accessible-user-journey\ndescription: \"Turn keyboard, screen-reader and other assistive technology test notes for one task into a step-by-step record of where people can finish it, where they are blocked and what is untested. Use when someone asks whether a checkout, booking, sign-up or form journey works without a mouse.\"\nlicense: CC-BY-4.0\nmetadata:\n  author: Raq.com\n  version: \"2026-11-22\"\n  homepage: https:\/\/skills.raq.com\/skills\/audit-an-accessible-user-journey\n---\n\n# Audit an accessible user journey\n\nTurn observed keyboard and screen-reader sessions into a step-by-step account of where someone can complete a task and where evidence is missing.\n\n## When to use this skill\n\n- Someone has notes or recordings from testing a task such as checkout, booking, sign-up or password reset with a keyboard, screen reader, voice control or magnifier, and wants to know whether it can be completed.\n- A team wants to know which steps and methods still need testing before they say a journey works.\n- An accessibility statement or bug list needs a clear account of where one journey is blocked and for whom.\n\n## When not to use it\n\n- Declaring a whole website or app WCAG conformant. W3C's evaluation methodology says results from a sample cannot support a site-wide claim; that needs a full evaluation against an agreed scope.\n- Diagnosing one component in depth, such as a modal's focus handling, a contrast failure or form error text. Use the dedicated skill for that check and bring its result back into the journey record.\n- Judging how easy or pleasant the journey is for disabled people. That needs usability research with disabled participants; this method records whether each step was completed.\n\n## What you need\n\n- A real task, its required steps and branches including failure recovery and confirmation.\n- Observed outcomes per step for the named interaction methods, device and assistive technology; include the user's completion criterion.\n\n## Ask before you start\n\nIf any of these are missing or unclear, ask before doing the work.\n\n- What counts as finishing the task, for example the booking is confirmed and the person can perceive the confirmation? The finding depends on this end point.\n- Which interaction methods and set-ups must be covered: keyboard only, which screen reader with which browser, voice control, zoom? Untested methods can only be reported against an agreed list.\n- Which steps and branches does the journey include, such as correcting a validation error, a timeout, a permission prompt and the confirmation page?\n- Is the evidence from this build and these devices? Results from an earlier release or a different set-up do not carry over.\n\n## Method\n\n1. Agree the scope before reading any results: the task, its start and end points, the person's completion criterion, and each required method with its device, browser and assistive technology. WCAG-EM calls the last of these the accessibility support baseline.\n2. List the steps in order along the default path, then add each branch a person commonly needs to finish, such as correcting an error, adding a new address, a permission prompt, a timeout or the confirmation page. WCAG-EM requires both the default sequence and the critical branches of a complete process.\n3. Make a grid with one row per step and one column per required method. In each cell record only what was attempted and observed: completed, blocked (with what happened) or not tested, with a reference to the note or recording.\n4. Call a cell blocked only when the evidence shows the person could not continue by that method, for example focus could not reach a field or a control was not announced. A slow or awkward step that was still completed is a finding to report, not a blocker.\n5. Treat a step as covered only when every required method has a recorded completion. Mouse results, automated scans and a tester's expectation are not evidence for keyboard or screen-reader completion.\n6. After a blocker, list the later steps for that method as untested unless they were reached and tested another way. The outcome is blocked if any blocker exists, otherwise incomplete if any cell is untested, otherwise completed.\n7. For each blocker, name the WCAG 2.2 success criterion it most likely engages, such as 2.1.1 Keyboard, 2.4.3 Focus Order, 3.3.1 Error Identification or 4.1.2 Name, Role, Value, and say which retest would confirm the fix. Keep the judgement to this journey and this evidence.\n\n## Checks before you deliver\n\n- An automated screenshot or scan of the entry page does not exercise a later error state.\n- Someone may reach a confirmation page without hearing its message. The user's stated completion criterion governs the finding.\n- Results from one browser and screen reader pairing do not transfer to another. Record the pairing for each observation and report other pairings as untested.\n- Marking the steps after a blocker as passed because the tester skipped ahead by mouse hides the rest of the journey. They stay untested for that method.\n- A completed journey is not a conformance claim. WCAG 2.2 conformance requirement 5.2.3 needs every page in a process to conform at the target level, which this check does not test.\n\n## How to present the result\n\nStart with the outcome in one sentence: completed, blocked at a named step and method, or incomplete with the number of untested step and method pairs. Then give the grid with one row per step and one column per method, marked completed, blocked (with what happened) or untested. Follow with each blocker, its likely WCAG criterion and the retest that confirms a fix, then the list of tests still to run.\n\n## Worked example\n\n**Request:** Review a booking task. Required methods in order: keyboard, screen-reader. Steps in order: choose, correct, confirm.\n\n**Supplied material:**\n\n```text\nchoose: keyboard completed; screen-reader completed\ncorrect: keyboard blocked, focus cannot reach the invalid field; screen-reader not tested\nconfirm: keyboard not tested; screen-reader not tested\n```\n\n**Answer:** Booking is blocked at date correction. A keyboard user cannot reach the invalid field. Make the field reachable after validation and repeat the correction by keyboard. Test correction with the screen reader and confirm the completed booking with both methods.\n\n## Structured output for tests\n\nFor an ordinary job, answer in the format above and point back to the supplied evidence. Use this structure only for the test cases published with this skill, or when someone asks for structured JSON.\n\nReturn outcome as blocked if any method has an observed blocker, otherwise incomplete if any required step\/method is unobserved, otherwise completed. Return blockers and untested as arrays of {step,method}, in step order then requested method order.\n\n## Sources\n\n- [W3C WCAG Evaluation Methodology (WCAG-EM) 2.0](https:\/\/www.w3.org\/TR\/WCAG-EM\/): Step 3.3 requires every page or view in a complete process, following the default sequence and the commonly used, critical branches. Step 4.2 checks the content that changes along the way, including forms, dialogs, error messages and confirmations. It also says a selected sample cannot support a conformance claim for a whole website.\n- [WCAG 2.2 conformance requirement 5.2.3: Complete processes](https:\/\/www.w3.org\/TR\/WCAG22\/#cc3): When a page is one of a series presenting a process, every page in the process must conform at the target level, so one failing step stops the whole process conforming. This is why the skill reports the journey step by step and never counts partial success as a pass.\n\nTest cases and an answer checker for this skill: https:\/\/skills.raq.com\/skills\/audit-an-accessible-user-journey\n"},{"path":"LICENSE.txt","content":"Original Raq.com instructions and synthetic examples: CC BY 4.0.\nhttps:\/\/creativecommons.org\/licenses\/by\/4.0\/\nAttribution: Raq.com, https:\/\/skills.raq.com\/skills\/audit-an-accessible-user-journey\nReferenced third-party materials retain their own terms.\n"},{"path":"examples\/worked-example.md","content":"# Booking with an invalid date\n\nReview a booking task. Required methods in order: keyboard, screen-reader. Steps in order: choose, correct, confirm.\n\n## Supplied material\n\nchoose: keyboard completed; screen-reader completed\ncorrect: keyboard blocked, focus cannot reach the invalid field; screen-reader not tested\nconfirm: keyboard not tested; screen-reader not tested\n\n## Worked answer\n\nBooking is blocked at date correction. A keyboard user cannot reach the invalid field. Make the field reachable after validation and repeat the correction by keyboard. Test correction with the screen reader and confirm the completed booking with both methods.\n\n## Reasoning\n\nThe reported blocker is direct evidence. Its downstream steps have no recorded outcome.\n"},{"path":"tests\/check.py","content":"\"\"\"Check a saved agent answer locally with Python 3 (standard library only).\"\"\"\nimport json\nimport math\nimport sys\nfrom pathlib import Path\n\n\ndef compare(expected, actual, path=\"$\", accepted=None):\n    if isinstance(expected, bool) or isinstance(actual, bool):\n        if expected is not actual:\n            yield path\n    elif isinstance(expected, (int, float)) and isinstance(actual, (int, float)):\n        if not math.isclose(expected, actual, rel_tol=0, abs_tol=1e-8):\n            yield path\n    elif isinstance(expected, dict) and isinstance(actual, dict):\n        for key in sorted(set(expected) | set(actual)):\n            if key not in expected or key not in actual:\n                yield f\"{path}.{key}\"\n            elif not any(\n                not list(compare(option, actual[key]))\n                for option in (accepted or {}).get(key, [])\n            ):\n                yield from compare(expected[key], actual[key], f\"{path}.{key}\")\n    elif isinstance(expected, list) and isinstance(actual, list):\n        if len(expected) != len(actual):\n            yield f\"{path} (length)\"\n        for i, (left, right) in enumerate(zip(expected, actual)):\n            yield from compare(left, right, f\"{path}[{i}]\")\n    elif type(expected) != type(actual) or expected != actual:\n        yield path\n\n\ndef main():\n    if len(sys.argv) != 3:\n        raise SystemExit(\"Usage: python3 check.py expected.json answer.json\")\n    try:\n        expected, actual = [json.loads(Path(p).read_text(encoding=\"utf-8\")) for p in sys.argv[1:]]\n        alternatives = Path(sys.argv[1]).with_name(\"accepted.json\")\n        accepted = json.loads(alternatives.read_text(encoding=\"utf-8\")) if alternatives.is_file() else {}\n    except (ValueError, OSError) as error:\n        raise SystemExit(str(error))\n    differences = list(compare(expected, actual, accepted=accepted))\n    if differences:\n        raise SystemExit(\"Different fields: \" + \", \".join(differences))\n    print(\"Pass\")\n\n\nif __name__ == \"__main__\":\n    main()\n"},{"path":"tests\/README.md","content":"Give your agent SKILL.md and one request.txt in a fresh session. Keep the expected answer aside. Save the reply as answer.json, then run this from the tests folder:\n\n    python3 check.py case-1\/expected.json answer.json\n\nEach case also has an explanation. Where accepted.json exists, the checker accepts the alternatives listed there.\n"},{"path":"tests\/case-1\/request.txt","content":"Review a booking task. Required methods in order: keyboard, screen-reader. Steps in order: choose, correct, confirm.\nReturn only the JSON specified in SKILL.md for this test.\n\nchoose: keyboard completed; screen-reader completed\ncorrect: keyboard blocked, focus cannot reach the invalid field; screen-reader not tested\nconfirm: keyboard not tested; screen-reader not tested\n"},{"path":"tests\/case-1\/expected.json","content":"{\n    \"outcome\": \"blocked\",\n    \"blockers\": [\n        {\n            \"step\": \"correct\",\n            \"method\": \"keyboard\"\n        }\n    ],\n    \"untested\": [\n        {\n            \"step\": \"correct\",\n            \"method\": \"screen-reader\"\n        },\n        {\n            \"step\": \"confirm\",\n            \"method\": \"keyboard\"\n        },\n        {\n            \"step\": \"confirm\",\n            \"method\": \"screen-reader\"\n        }\n    ]\n}\n"},{"path":"tests\/case-1\/explanation.txt","content":"The reported blocker is direct evidence. Its downstream steps have no recorded outcome.\n"},{"path":"tests\/case-2\/request.txt","content":"Review signing up for a newsletter. Required methods: keyboard, screen-reader. Steps: enter, confirm. The task ends when confirmation can be perceived.\nReturn only the JSON specified in SKILL.md for this test.\n\nenter: keyboard completed; screen-reader completed\nconfirm: keyboard completed; screen-reader not tested\n"},{"path":"tests\/case-2\/expected.json","content":"{\n    \"outcome\": \"incomplete\",\n    \"blockers\": [],\n    \"untested\": [\n        {\n            \"step\": \"confirm\",\n            \"method\": \"screen-reader\"\n        }\n    ]\n}\n"},{"path":"tests\/case-2\/explanation.txt","content":"A sighted tester's confirmation leaves the final screen-reader observation open.\n"}],"is_active":true,"is_approved":false}]}]}