Skip to content

Commit 1284e0e

Browse files
authored
Merge pull request #338 from TimvdLippe/patch-7
Fix `index.html` lookup voor directories
2 parents 3337cc1 + ffbc796 commit 1284e0e

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/check-wcag.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ jobs:
4949
"xml": "text/xml"
5050
}
5151
port: 3000
52-
directory: build/
52+
directory: build/
53+
index-files: |
54+
["index.html"]
5355
5456
- name: Run Axe to check for WCAG compliance
5557
run: pnpm run lint:wcag

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"write-translations": "docusaurus write-translations",
1616
"write-heading-ids": "docusaurus write-heading-ids",
1717
"lint:typecheck": "tsc --noEmit",
18-
"lint:wcag": "axe http://localhost:3000/index.html, http://localhost:3000/blog, http://localhost:3000/bijdragen, http://localhost:3000/communities, http://localhost:3000/kennisbank, http://localhost:3000/kennisbank/apis, http://localhost:3000/kennisbank/front-end, http://localhost:3000/kennisbank/data, http://localhost:3000/kennisbank/open-source, http://localhost:3000/kennisbank/infra, http://localhost:3000/kennisbank/security --exit --tags wcag2a",
18+
"lint:wcag": "axe http://localhost:3000/index.html, http://localhost:3000/blog, http://localhost:3000/communities, http://localhost:3000/kennisbank, http://localhost:3000/kennisbank/apis, http://localhost:3000/kennisbank/front-end, http://localhost:3000/kennisbank/data, http://localhost:3000/kennisbank/open-source, http://localhost:3000/kennisbank/infra, http://localhost:3000/kennisbank/security --exit --tags wcag2a",
1919
"lint": "npm-run-all lint:*"
2020
},
2121
"dependencies": {

0 commit comments

Comments
 (0)