Scan for web accessibility issues.
Learn to fix them.

magnacoda

Welcome

magnacoda™ is an accessibility scanner for WCAG, the Web Content Accessibility Guidelines, that you run from your terminal. It's built for developers and content managers who want to understand and fix accessibility problems, not just list them.

magnacoda docs

Help: Scan hints

Type any of these on one line, as in --level AAA --screen both.

What to check

--level [A|AA|AAA]
Conformance level. Default: AA.
--wcag-version [2.0|2.1|2.2]
WCAG version. Default: 2.2.
--screen [desktop|mobile|both]
Screen size. Default: desktop.
--color-scheme [light|dark|both]
Theme to scan. Default: both.
--quick, --thorough
Leave out, or run, the slowest tests.
--menus [NUMBER|all|none]
Menus and dialogs to open. Default: 15.

AI reasoning

--ai [off|explain|semantic]
How much AI to use. Default: off.

Output

--show-findings
Show the full findings here, too.
-o, --output PATH
Also save the results as JSON.
--fail-on [none|minor|moderate|serious|critical]
Exit with code 1 at or above this. Default: serious.

Pages behind a login

--login
Scan as your saved login (see login).
--storage-state PATH
Use a login file of your own.
--cookie NAME=VALUE
Set a cookie first. Repeat for more.
--extra-http-header KEY=VALUE
Send a header. Repeat for more.

Pages that need help to load

--wait SECONDS
Give a slow page longer to load.
--wait-for-selector TEXT
Wait until this CSS selector appears.
--ignore-https-errors
Accept an invalid certificate.

Type help for more.