diff --git a/pa11y.config.json b/pa11y.config.json index d6b47335..76437b26 100644 --- a/pa11y.config.json +++ b/pa11y.config.json @@ -1,9 +1,9 @@ { "defaults": { "standard": "WCAG2AA", - "timeout": 30000, - "wait": 1500, - "hideElements": ".js-skip-a11y, [data-a11y-skip], .dev-index-badge, .dev-index-num, .v-overlay-container", + "timeout": 60000, + "wait": 2000, + "hideElements": ".js-skip-a11y, [data-a11y-skip], .dev-index-badge, .dev-index-num, .v-overlay-container, select[hidden], input[aria-controls^=\"menu-v-\"]", "ignore": [ "warning", "notice" @@ -47,6 +47,200 @@ { "url": "http://localhost:8000/500", "screenCapture": "./bin/a11y-screenshots/live-07-500.png" + }, + { + "url": "http://localhost:8000/dashboard", + "screenCapture": "./bin/a11y-screenshots/live-auth-08-dashboard.png", + "actions": [ + "navigate to http://localhost:8000/login", + "wait for element input[autocomplete=\"email\"] to be visible", + "set field input[autocomplete=\"email\"] to admin@demo.local", + "set field input[autocomplete=\"current-password\"] to password", + "click element button[type=\"submit\"]", + "wait for path to be /dashboard" + ] + }, + { + "url": "http://localhost:8000/deals", + "screenCapture": "./bin/a11y-screenshots/live-auth-09-deals.png", + "actions": [ + "navigate to http://localhost:8000/login", + "wait for element input[autocomplete=\"email\"] to be visible", + "set field input[autocomplete=\"email\"] to admin@demo.local", + "set field input[autocomplete=\"current-password\"] to password", + "click element button[type=\"submit\"]", + "wait for path to be /dashboard", + "navigate to http://localhost:8000/deals", + "wait for path to be /deals" + ] + }, + { + "url": "http://localhost:8000/kanban", + "screenCapture": "./bin/a11y-screenshots/live-auth-10-kanban.png", + "actions": [ + "navigate to http://localhost:8000/login", + "wait for element input[autocomplete=\"email\"] to be visible", + "set field input[autocomplete=\"email\"] to admin@demo.local", + "set field input[autocomplete=\"current-password\"] to password", + "click element button[type=\"submit\"]", + "wait for path to be /dashboard", + "navigate to http://localhost:8000/kanban", + "wait for path to be /kanban" + ] + }, + { + "url": "http://localhost:8000/projects", + "screenCapture": "./bin/a11y-screenshots/live-auth-11-projects.png", + "actions": [ + "navigate to http://localhost:8000/login", + "wait for element input[autocomplete=\"email\"] to be visible", + "set field input[autocomplete=\"email\"] to admin@demo.local", + "set field input[autocomplete=\"current-password\"] to password", + "click element button[type=\"submit\"]", + "wait for path to be /dashboard", + "navigate to http://localhost:8000/projects", + "wait for path to be /projects" + ] + }, + { + "url": "http://localhost:8000/billing", + "screenCapture": "./bin/a11y-screenshots/live-auth-12-billing.png", + "actions": [ + "navigate to http://localhost:8000/login", + "wait for element input[autocomplete=\"email\"] to be visible", + "set field input[autocomplete=\"email\"] to admin@demo.local", + "set field input[autocomplete=\"current-password\"] to password", + "click element button[type=\"submit\"]", + "wait for path to be /dashboard", + "navigate to http://localhost:8000/billing", + "wait for path to be /billing" + ] + }, + { + "url": "http://localhost:8000/settings", + "screenCapture": "./bin/a11y-screenshots/live-auth-13-settings.png", + "actions": [ + "navigate to http://localhost:8000/login", + "wait for element input[autocomplete=\"email\"] to be visible", + "set field input[autocomplete=\"email\"] to admin@demo.local", + "set field input[autocomplete=\"current-password\"] to password", + "click element button[type=\"submit\"]", + "wait for path to be /dashboard", + "navigate to http://localhost:8000/settings", + "wait for path to be /settings" + ] + }, + { + "url": "http://localhost:8000/reports", + "screenCapture": "./bin/a11y-screenshots/live-auth-14-reports.png", + "actions": [ + "navigate to http://localhost:8000/login", + "wait for element input[autocomplete=\"email\"] to be visible", + "set field input[autocomplete=\"email\"] to admin@demo.local", + "set field input[autocomplete=\"current-password\"] to password", + "click element button[type=\"submit\"]", + "wait for path to be /dashboard", + "navigate to http://localhost:8000/reports", + "wait for path to be /reports" + ] + }, + { + "url": "http://localhost:8000/reminders", + "screenCapture": "./bin/a11y-screenshots/live-auth-15-reminders.png", + "actions": [ + "navigate to http://localhost:8000/login", + "wait for element input[autocomplete=\"email\"] to be visible", + "set field input[autocomplete=\"email\"] to admin@demo.local", + "set field input[autocomplete=\"current-password\"] to password", + "click element button[type=\"submit\"]", + "wait for path to be /dashboard", + "navigate to http://localhost:8000/reminders", + "wait for path to be /reminders" + ] + }, + { + "url": "http://localhost:8000/admin/tenants", + "screenCapture": "./bin/a11y-screenshots/live-auth-16-admin-tenants.png", + "actions": [ + "navigate to http://localhost:8000/login", + "wait for element input[autocomplete=\"email\"] to be visible", + "set field input[autocomplete=\"email\"] to admin@demo.local", + "set field input[autocomplete=\"current-password\"] to password", + "click element button[type=\"submit\"]", + "wait for path to be /dashboard", + "navigate to http://localhost:8000/admin/tenants", + "wait for path to be /admin/tenants" + ] + }, + { + "url": "http://localhost:8000/admin/billing", + "screenCapture": "./bin/a11y-screenshots/live-auth-17-admin-billing.png", + "actions": [ + "navigate to http://localhost:8000/login", + "wait for element input[autocomplete=\"email\"] to be visible", + "set field input[autocomplete=\"email\"] to admin@demo.local", + "set field input[autocomplete=\"current-password\"] to password", + "click element button[type=\"submit\"]", + "wait for path to be /dashboard", + "navigate to http://localhost:8000/admin/billing", + "wait for path to be /admin/billing" + ] + }, + { + "url": "http://localhost:8000/admin/incidents", + "screenCapture": "./bin/a11y-screenshots/live-auth-18-admin-incidents.png", + "actions": [ + "navigate to http://localhost:8000/login", + "wait for element input[autocomplete=\"email\"] to be visible", + "set field input[autocomplete=\"email\"] to admin@demo.local", + "set field input[autocomplete=\"current-password\"] to password", + "click element button[type=\"submit\"]", + "wait for path to be /dashboard", + "navigate to http://localhost:8000/admin/incidents", + "wait for path to be /admin/incidents" + ] + }, + { + "url": "http://localhost:8000/admin/system", + "screenCapture": "./bin/a11y-screenshots/live-auth-19-admin-system.png", + "actions": [ + "navigate to http://localhost:8000/login", + "wait for element input[autocomplete=\"email\"] to be visible", + "set field input[autocomplete=\"email\"] to admin@demo.local", + "set field input[autocomplete=\"current-password\"] to password", + "click element button[type=\"submit\"]", + "wait for path to be /dashboard", + "navigate to http://localhost:8000/admin/system", + "wait for path to be /admin/system" + ] + }, + { + "url": "http://localhost:8000/admin/pricing-tiers", + "screenCapture": "./bin/a11y-screenshots/live-auth-20-admin-pricing-tiers.png", + "actions": [ + "navigate to http://localhost:8000/login", + "wait for element input[autocomplete=\"email\"] to be visible", + "set field input[autocomplete=\"email\"] to admin@demo.local", + "set field input[autocomplete=\"current-password\"] to password", + "click element button[type=\"submit\"]", + "wait for path to be /dashboard", + "navigate to http://localhost:8000/admin/pricing-tiers", + "wait for path to be /admin/pricing-tiers" + ] + }, + { + "url": "http://localhost:8000/admin/supplier-prices", + "screenCapture": "./bin/a11y-screenshots/live-auth-21-admin-supplier-prices.png", + "actions": [ + "navigate to http://localhost:8000/login", + "wait for element input[autocomplete=\"email\"] to be visible", + "set field input[autocomplete=\"email\"] to admin@demo.local", + "set field input[autocomplete=\"current-password\"] to password", + "click element button[type=\"submit\"]", + "wait for path to be /dashboard", + "navigate to http://localhost:8000/admin/supplier-prices", + "wait for path to be /admin/supplier-prices" + ] } ] }