Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run: npm test

a11y:
name: Accessibility (WCAG 2.2 AA)
name: Accessibility (WCAG 2.1 AA)
runs-on: ubuntu-latest
steps:
- name: Checkout repo
Expand All @@ -59,11 +59,13 @@ jobs:
- name: Build
run: npm run build

- name: Install Playwright browser
run: npx playwright install chromium --with-deps
- name: Serve built site
run: |
npm run serve -- --port 3000 --no-open &
npx --yes wait-on@9 --timeout 60000 http://localhost:3000/

- name: Run accessibility tests
run: npm run test:a11y
uses: lowlysre/pa11y-ci-action@9cfc00c514ae1d06afa84ce15d3959f8bbca2e73 # v1.0.0

query-tests:
name: DuckDB query smoke tests
Expand Down
20 changes: 20 additions & 0 deletions .pa11yci.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"defaults": {
"standard": "WCAG2AA",
"runners": ["axe"],
Comment thread
lowlydba marked this conversation as resolved.
"timeout": 30000,
"wait": 1000,
"chromeLaunchConfig": {
"args": ["--no-sandbox"]
}
},
"urls": [
"http://localhost:3000/",
"http://localhost:3000/docs/",
"http://localhost:3000/getting-data/",
"http://localhost:3000/guides/",
"http://localhost:3000/examples/",
"http://localhost:3000/blog/",
"http://localhost:3000/community/"
]
}
121 changes: 0 additions & 121 deletions __tests__/a11y.test.mjs

This file was deleted.

54 changes: 0 additions & 54 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"format": "prettier --write .",
"format:check": "prettier --check .",
"test": "vitest run",
"test:a11y": "node --test --test-reporter=spec __tests__/a11y.test.mjs",
"test:watch": "vitest",
"typecheck": "tsc --noEmit"
},
Expand All @@ -47,7 +46,6 @@
"react-dom": "^19.3.0"
},
"devDependencies": {
"@axe-core/playwright": "^4.13.0",
"@docusaurus/module-type-aliases": "^3.10.0",
"@docusaurus/types": "^3.10.0",
"@eslint/js": "^10.0.0",
Expand All @@ -60,7 +58,6 @@
"globals": "^17.11.0",
"jsdom": "^30.1.1",
"markdownlint-cli": "^0.49.1",
"playwright": "^1.62.1",
"prettier": "^3.9.8",
"typescript": "^7.0.2",
"vite": "^8.3.0",
Expand Down
Loading