{"data":{"slug":"discovered-5376d5687eefe6e3679f7d0a4cded14b0f73e9476ab1552f","title":"Persona Test","summary":"Run simulated visitors with specific accessibility and device conditions against a website to identify and report on tasks they cannot complete.","url":"https:\/\/skillshunter.net\/skills\/discovered-5376d5687eefe6e3679f7d0a4cded14b0f73e9476ab1552f","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-5376d5687eefe6e3679f7d0a4cded14b0f73e9476ab1552f","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-5376d5687eefe6e3679f7d0a4cded14b0f73e9476ab1552f.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-5376d5687eefe6e3679f7d0a4cded14b0f73e9476ab1552f\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"This skill requires a website URL to test and should be used for diagnostic purposes only. Results are based on simulated scenarios and do not reflect real user behavior.","instructions":"---\nname: persona-test\ndescription: Run simulated visitors (mobile on slow 3G, skimmer, keyboard-only, screen-reader proxy, low-vision, reduced-motion, no-JavaScript, impatient, 320 px phone) against a site, fix the tasks they cannot complete, and report honestly what this does and does not show.\ndisable-model-invocation: false\n---\n# Lilac persona test\n\nThese are SIMULATED visitors, not real people. Scripted browser sessions check whether a visitor using a given method can complete a task. Say so every time you report the result.\n\n1. Run: `node \"${CLAUDE_PLUGIN_ROOT}\/scripts\/persona-test.mjs\" \"<project>\"` (options: `--site <dir>`, `--visitors 100`, `--seed N`, `--json`, `--min-overall 90`, `--min-persona 70`). It serves the site on 127.0.0.1, drives the system Chrome with no installs, blocks every request to other hosts, and cleans up its Chrome and temp files. Without Chrome it prints `persona-test: SKIPPED(no browser)`: list the step as not done, never as passed.\n2. Read the report: completion per persona and per task, median steps and time, and the 5 worst failures with persona, page, step, reason and a screenshot under `<project>\/.lilac\/personas\/`. Same seed, same report.\n3. Fix every failure in the Builder role (read-only roles hand the list over). Typical causes: nav built from clickable `<span>`s (keyboard and screen-reader fail), controls without an accessible name, content that needs JavaScript, content wider than 320 px, a contact or booking control that is missing or hidden, a form with no visible confirmation.\n4. Re-run with the same seed until the last line shows no failure group(s) you can fix. Never edit the tool, lower `--min-*`, or change the seed to make it pass.\n5. Report: the final `persona-test:` line verbatim, what was fixed, what remains and why.\n\nTasks (derived from the page): understand the offer (a visible h1), find a way to contact\/buy\/book, reach every top-nav page, complete the main form with valid sample data and see visible feedback, find opening hours or a price (only when the site has one). A task passes only when that persona's own method completes it inside its step budget.\n\nExtra tasks: put `<project>\/.lilac\/personas.json` next to the site:\n```json\n{\"tasks\":[{\"name\":\"book a class\",\"startPage\":\"\/classes.html\",\"personas\":[\"keyboard\",\"mobile-3g\"],\n  \"steps\":[{\"click\":\"Book now\"},{\"type\":\"Email\",\"text\":\"sam@example.com\"},{\"click\":\"Confirm\"},{\"expectText\":\"Booked\"}]}]}\n```\n`startPage` defaults to `\/`; `personas` (optional) limits who runs it; `click` matches visible control text, `type` matches a field label, `expectText` waits up to 1.5 s for text on the page.\n\nLimits (say these out loud)\n- It measures whether tasks can be completed with each method. It does not measure taste, opinions, trust, copy quality or real demand, and it is not a user study.\n- Form POST handlers cannot be verified offline: a form only passes when the page itself shows a confirmation.\n- The screen-reader persona uses Chrome's accessibility tree, not a real screen reader; 200% zoom is approximated with CSS zoom; slow 3G is Chrome's emulation.\n- A passing run is not proof the site is good. For real feedback, see `docs\/PILOT.md`. For opinions from AI personas, use `persona-review`.\n","use_cases":["Testing website accessibility for screen readers and keyboard-only users","Evaluating website performance on slow 3G connections and mobile devices","Identifying usability issues for users with low vision or reduced motion preferences"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/DevPatel128\/lilac-plugin\/blob\/7e77aadbd31442412fba6856e43e4a2d8b781a6d\/skills\/persona-test\/SKILL.md","source_commit":"7e77aadbd31442412fba6856e43e4a2d8b781a6d","license":null,"version":null,"listing_approved_at":"2026-11-29","created_at":"2026-11-28T18:58:21.000000Z","updated_at":"2026-11-29T10:54:05.000000Z","seo_title":"Persona Test for Website Accessibility and Device Simulation","seo_description":"Simulate visitors with various accessibility and device conditions to test website usability and identify task completion issues.","seo_keywords":["website accessibility testing","device simulation testing","persona testing","screen reader testing","keyboard-only testing"]}}