Skip to content
Permalink
Browse files

Test accessibility of site with pa11y-ci

  • Loading branch information...
yous committed Aug 26, 2019
1 parent c92df09 commit aa3a4d9f726a284ad775225cc31ad59412bff1ff
Showing with 9 additions and 0 deletions.
  1. +7 −0 .travis.yml
  2. +2 −0 CHANGELOG.md
@@ -9,12 +9,19 @@ addons:
before_install:
- gem update --system
- gem install bundler
- nvm install node
install:
- bundle install --jobs=3 --retry=3
- pip install --user html5validator
- npm install -g pa11y-ci
script:
- bundle exec jekyll clean && bundle exec jekyll build
- html5validator --Werror --also-check-css --also-check-svg --root _site/
- |
(bundle exec jekyll server -d _tmp_site & echo $! >&3) 3>jekyll.pid | grep -q 'Server running' && \
pa11y-ci --sitemap http://localhost:4000/whiteglass/sitemap.xml && \
kill -9 "$(cat jekyll.pid)" && \
rm -f jekyll.pid
branches:
only:
- master
@@ -5,6 +5,8 @@
- Adjust $grey-color to conform to WCAG 2.0 AA (#26)
- Support Jekyll 4.0
- Fix insufficient contrast in syntax highlighting (#26)
- Validate HTML, CSS, SVG files with html5validator
- Test accessibility of site with pa11y-ci

## 1.8.2 (2019-05-25)

0 comments on commit aa3a4d9

Please sign in to comment.
You can’t perform that action at this time.