Skip to content

Commit 2982750

Browse files
author
Tom Pearson
committed
first commit
0 parents  commit 2982750

19 files changed

+3988
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

.pa11yrc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"defaults": {
3+
"reporters":[
4+
"pa11y-reporter-html","json"
5+
]
6+
},
7+
"urls": [
8+
{
9+
"url":"http://localhost:5000/good.html",
10+
"wait":1000
11+
},
12+
{
13+
"url":"http://localhost:5000/bad.html",
14+
"wait":1000
15+
}
16+
]
17+
}

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"git.ignoreLimitWarning": true
3+
}

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
This repo exist to demonstrate an approach to accesibility testing using Github actions and [Pa11y]()
2+
3+
HTML based on [HTML 5 boilerplate h5bp](https://html5boilerplate.com/)`

a11y-report.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"total":2,"passes":1,"errors":2,"results":{"http://localhost:5000/good.html":[],"http://localhost:5000/bad.html":[{"code":"WCAG2AA.Principle2.Guideline2_4.2_4_2.H25.1.EmptyTitle","type":"error","typeCode":1,"message":"The title element in the head section should be non-empty.","context":"<title></title>","selector":"html > head > title","runner":"htmlcs","runnerExtras":{}},{"code":"WCAG2AA.Principle3.Guideline3_1.3_1_1.H57.3.Lang","type":"error","typeCode":1,"message":"The language specified in the lang attribute of the document element does not appear to be well-formed.","context":null,"selector":"","runner":"htmlcs","runnerExtras":{}}]}}

0 commit comments

Comments
 (0)