Skip to content

Commit

Permalink
Generate accessibility violations (#1571)
Browse files Browse the repository at this point in the history
* Add basic implementation

* Create a file

* Go back to Markdown

* Update pnpm-lock.yaml
  • Loading branch information
stevekinney authored Aug 31, 2023
1 parent 2ac2399 commit d7d55c6
Show file tree
Hide file tree
Showing 11 changed files with 1,198 additions and 36 deletions.
12 changes: 12 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
"json-beautify": "^1.1.1",
"json-bigint": "^1.0.0",
"just-debounce": "^1.1.0",
"remark-stringify": "^10.0.3",
"sanitize-html": "^2.8.1",
"tailwind-merge": "^1.14.0",
"url-pattern": "^1.0.3",
Expand Down Expand Up @@ -128,6 +129,7 @@
"@types/node": "^16.18.11",
"@types/sanitize-html": "^2.8.0",
"@types/tar-fs": "^2.0.1",
"@types/unist": "^3.0.0",
"@types/uuid": "^9.0.0",
"@types/yargs": "^17.0.24",
"@typescript-eslint/eslint-plugin": "^5.52.0",
Expand Down Expand Up @@ -169,6 +171,14 @@
"postcss-load-config": "^3.1.4",
"prettier": "^2.8.4",
"prettier-plugin-tailwindcss": "^0.2.2",
"rehype-document": "^6.1.0",
"rehype-format": "^4.0.1",
"rehype-stringify": "^9.0.4",
"remark": "^14.0.3",
"remark-gfm": "^3.0.1",
"remark-parse": "^10.0.2",
"remark-rehype": "^10.1.0",
"remark-toc": "^8.0.1",
"rimraf": "^4.3.1",
"stylelint": "^15.10.3",
"stylelint-config-recommended": "^13.0.0",
Expand All @@ -184,6 +194,8 @@
"ts-node": "^10.9.1",
"ts-proto": "^1.82.5",
"tslib": "^2.3.1",
"unified": "^11.0.2",
"unist-util-visit": "^5.0.0",
"typescript": "^5.2.2",
"vite": "^4.0.4",
"vite-node": "^0.23.4",
Expand Down
4 changes: 4 additions & 0 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ export default defineConfig({
['html'],
['json', { outputFile: 'playwright-report/test-results.json' }],
[process.env.CI ? 'list' : 'github'],
[
'./tests/test-utilities/accessibility-reporter',
{ outputFile: 'playwright-report/accessibility-violations.json' },
],
],
use: {
actionTimeout: 0,
Expand Down
Loading

0 comments on commit d7d55c6

Please sign in to comment.