Skip to content

Commit

Permalink
Add accessibility-testing to hugo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
denseflux authored Oct 17, 2023
1 parent 6f84c19 commit bbf81d8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,15 @@ jobs:
uses: actions/upload-pages-artifact@v2
with:
path: ./public
- name: Scan for accessibility issues
uses: microsoft/accessibility-insights-action@v3
with:
# Provide either static-site-dir or url
static-site-dir: ./public
# url: your-website-url

# Provide any additional inputs here
fail-on-accessibility-error: true

# Deployment job
deploy:
Expand Down

0 comments on commit bbf81d8

Please sign in to comment.