Skip to content

Commit fefeea8

Browse files
committed
see if this works
1 parent d6c7c62 commit fefeea8

File tree

19 files changed

+6412
-1105
lines changed

19 files changed

+6412
-1105
lines changed

demo/blog/post1.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
7+
<title>Document</title>
8+
</head>
9+
<body>
10+
11+
</body>
12+
</html>

demo/blog/post2.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
7+
<title>Document</title>
8+
</head>
9+
<body>
10+
11+
</body>
12+
</html>

demo/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</head>
99
<body>
1010
<p> intentionally inaccessible img with no alt </p>
11-
<img src="https://http://placekitten.com/200/300" />
11+
<!-- <img src="https://placekitten.com/200/300" /> -->
1212

1313
</body>
1414
</html>

manifest.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
name: netlify-plugin-axe
1+
name: netlify-plugin-axe
2+
inputs:
3+
- name: checkPaths
4+
- name: resultMode

netlify.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[build]
2+
command = "echo 'hi'"
3+
publish = "demo"
4+
5+
[[plugins]]
6+
package = "./plugin/index.js"
7+
[plugins.inputs]
8+
# required config
9+
checkPaths = [
10+
'index.html',
11+
'/blog'
12+
]
13+
14+
# # optional config
15+
# resultMode = "error" # can switch to warn

0 commit comments

Comments
 (0)