phrdang / berkeley-class-site

https://phrdang.github.io/berkeley-class-site/
MIT License
0 stars 0 forks source link

Add pa11y accessibility check #2

Closed phrdang closed 3 months ago

phrdang commented 3 months ago

Followed instructions here: https://accessibility.civicactions.com/posts/automated-accessibility-testing-leveraging-github-actions-and-pa11y-ci-with-axe (this requires npm)

Fixed Liquid error by updating the exclude tag in _config.yml from following the instructions here: https://jekyllrb.com/docs/troubleshooting/#configuration-problems

github-actions[bot] commented 3 months ago
Pa11y testing results ``` > pa11y-ci:sitemap > pa11y-ci --sitemap http://127.0.0.1:4000/berkeley-class-site/sitemap.xml --sitemap-exclude "/*.pdf" Running Pa11y on 6 URLs: > http://localhost:4000/berkeley-class-site/ - Failed to run ```
github-actions[bot] commented 3 months ago
Pa11y testing results ``` > pa11y-ci:sitemap > pa11y-ci --sitemap http://localhost:4000/berkeley-class-site/sitemap.xml --sitemap-exclude "/*.pdf" The sitemap "http://localhost:4000/berkeley-class-site/sitemap.xml" could not be loaded ```
github-actions[bot] commented 3 months ago
Pa11y testing results ``` > pa11y-ci:sitemap > pa11y-ci --sitemap http://127.0.0.1:4000/berkeley-class-site/sitemap.xml --sitemap-exclude "/*.pdf" Running Pa11y on 6 URLs: > http://localhost:4000/berkeley-class-site/ - Failed to run ```
github-actions[bot] commented 3 months ago
Pa11y testing results ``` > pa11y-ci:sitemap > pa11y-ci --sitemap http://127.0.0.1:4000/berkeley-class-site/sitemap.xml --sitemap-find https://phrdang.github.io --sitemap-replace http://127.0.0.1:4000 --sitemap-exclude "/*.pdf" Running Pa11y on 6 URLs: > http://localhost:4000/berkeley-class-site/ - Failed to run ```
github-actions[bot] commented 3 months ago
Pa11y testing results ``` > pa11y-ci:sitemap > pa11y-ci --sitemap http://127.0.0.1:4000/berkeley-class-site/sitemap.xml --sitemap-find https://phrdang.github.io/berkeley-class-site --sitemap-replace http://127.0.0.1:4000 --sitemap-exclude "/*.pdf" Running Pa11y on 6 URLs: > http://localhost:4000/berkeley-class-site/ - Failed to run ```
github-actions[bot] commented 3 months ago
Pa11y testing results ``` > pa11y-ci:sitemap > pa11y-ci --sitemap http://127.0.0.1:4000/berkeley-class-site/sitemap.xml --sitemap-find https://phrdang.github.io/berkeley-class-site --sitemap-replace http://127.0.0.1:4000 --sitemap-exclude "/*.pdf" Running Pa11y on 6 URLs: > http://localhost:4000/berkeley-class-site/ - Failed to run ```
github-actions[bot] commented 3 months ago
Pa11y testing results ``` > pa11y-ci:sitemap > pa11y-ci --sitemap http://127.0.0.1:4000/berkeley-class-site/sitemap.xml --sitemap-find https://phrdang.github.io/berkeley-class-site --sitemap-replace http://127.0.0.1:4000 --sitemap-exclude "/*.pdf" Running Pa11y on 6 URLs: > http://localhost:4000/berkeley-class-site/ - Failed to run ```
github-actions[bot] commented 3 months ago
Pa11y testing results ``` > pa11y-ci:sitemap > pa11y-ci --sitemap http://127.0.0.1:4000/berkeley-class-site/sitemap.xml --sitemap-find https://phrdang.github.io/berkeley-class-site --sitemap-replace http://127.0.0.1:4000 --sitemap-exclude "/*.pdf" Running Pa11y on 6 URLs: > http://localhost:4000/berkeley-class-site/ - Failed to run ```