Skip to content

Commit 4cad6af

Browse files
author
michael-n-cooper
committed
sample structure of JSON file to drive techniques
1 parent 087d525 commit 4cad6af

File tree

1 file changed

+81
-0
lines changed

1 file changed

+81
-0
lines changed

wcag21.json

+81
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
{
2+
"principles": [
3+
{
4+
"id": "@@id",
5+
"title": "@@Principle 1",
6+
"guidelines": [
7+
{
8+
"id": "@@id",
9+
"title": "@@Guideline 1",
10+
"success-criteria": [
11+
{
12+
"id": "@@id",
13+
"title": "@@Success Criterion 1",
14+
"level": "[A|AA|AAA]",
15+
"techniques": [
16+
{
17+
"id": "@@filename",
18+
"title": "@@Technique Title",
19+
"technology": "[html|aria|pdf|etc.]",
20+
"type": "[sufficient|advisory|failure]"
21+
},
22+
{
23+
"id": "@@filename2",
24+
"title": "@@Technique Title2",
25+
"technology": "[html|aria|pdf|etc.]",
26+
"type": "[sufficient|advisory|failure]",
27+
"using": [
28+
{
29+
"id": "@@filename",
30+
"title": "@@Technique Title3",
31+
"technology": "[html|aria|pdf|etc.]",
32+
"type": "[sufficient|advisory|failure]"
33+
},
34+
{
35+
"id": "@@filename2",
36+
"title": "@@Technique Title4",
37+
"technology": "[html|aria|pdf|etc.]",
38+
"type": "[sufficient|advisory|failure]"
39+
}
40+
]
41+
},
42+
{
43+
"joint": [
44+
{
45+
"id": "@@filename",
46+
"title": "@@Technique Title5",
47+
"technology": "[html|aria|pdf|etc.]",
48+
"type": "[sufficient|advisory|failure]"
49+
},
50+
{
51+
"id": "@@filename2",
52+
"title": "@@Technique Title6",
53+
"technology": "[html|aria|pdf|etc.]",
54+
"type": "[sufficient|advisory|failure]"
55+
}
56+
]
57+
}
58+
]
59+
},
60+
{
61+
"id": "@@id",
62+
"title": "@@Success Criterion 2",
63+
"level": "[A|AA|AAA]",
64+
"techniques": ["etc."]
65+
}
66+
]
67+
},
68+
{
69+
"id": "@@id",
70+
"title": "@@Guideline 2",
71+
"success-criteria": ["etc."]
72+
}
73+
]
74+
},
75+
{
76+
"id": "@@id",
77+
"title": "@@Principle 2",
78+
"guidelines": ["etc."]
79+
}
80+
]
81+
}

0 commit comments

Comments
 (0)