Skip to content

Instantly share code, notes, and snippets.

@greggnakamura
Last active November 21, 2018 17:02
Show Gist options
  • Save greggnakamura/dd0c096ab544ec33950cd05ae78493fb to your computer and use it in GitHub Desktop.
Save greggnakamura/dd0c096ab544ec33950cd05ae78493fb to your computer and use it in GitHub Desktop.
Accessibility: Various commands
<!-- https://bitsofco.de/pa11y/ -->
<!-- html report -->
pa11y --ignore "warning;notice" --reporter html https://www.nedelta.com/Home > home.html
<!-- pa11y with elements removed -->
pa11y --ignore "warning;notice" https://www.nedelta.com/Home --hide-elements ".wf-header,.wf-footer"
<!-- html report with elements removed -->
pa11y --ignore "warning;notice" --reporter html https://www.nedelta.com/Patients --hide-elements ".wf-header,.wf-footer" > _patients.html
pa11y --ignore "warning;notice;WCAG2AA.Principle3.Guideline3_1.3_1_1.H57.2" --hide-elements "#header,.site-title" --reporter html http://site.com/page > page.html
<!-- pa11y section 508 ->
pa11y --ignore "warning;notice" --standard Section508 http://example.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment