Skip to content

Commit e389cba

Browse files
ksen0Wendy Sun
authored andcommitted
Update banner title and link for 2.0 site (processing#1013)
* Update banner title and link for 2.0 site * Update banner text for p5.js reference
1 parent e40a382 commit e389cba

24 files changed

+7717
-0
lines changed

a11y-test-results/about.json

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
{
2+
"name": "About",
3+
"path": "/about/",
4+
"passed": false,
5+
"violationsCount": 2,
6+
"violations": [
7+
{
8+
"id": "link-in-text-block",
9+
"impact": "serious",
10+
"tags": [
11+
"cat.color",
12+
"wcag2a",
13+
"wcag141",
14+
"TTv5",
15+
"TT13.a",
16+
"EN-301-549",
17+
"EN-9.1.4.1"
18+
],
19+
"description": "Ensure links are distinguished from surrounding text in a way that does not rely on color",
20+
"help": "Links must be distinguishable without relying on color",
21+
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/link-in-text-block?application=playwright",
22+
"nodes": [
23+
{
24+
"any": [
25+
{
26+
"id": "link-in-text-block",
27+
"data": {
28+
"messageKey": "fgContrast",
29+
"contrastRatio": 2.98,
30+
"requiredContrastRatio": 3,
31+
"nodeColor": "#b20046",
32+
"parentColor": "#000000"
33+
},
34+
"relatedNodes": [
35+
{
36+
"html": "<p>Find out how to get started with animation, audio, WebGL, accessibility, and contribution to p5.js in this <a href=\"https://hello.p5js.org/\">interactive video</a> (works best on a desktop web browser):</p>",
37+
"target": [
38+
"p:nth-child(4)"
39+
]
40+
}
41+
],
42+
"impact": "serious",
43+
"message": "The link has insufficient color contrast of 2.98:1 with the surrounding text. (Minimum contrast is 3:1, link text: #b20046, surrounding text: #000000)"
44+
},
45+
{
46+
"id": "link-in-text-block-style",
47+
"data": null,
48+
"relatedNodes": [
49+
{
50+
"html": "<p>Find out how to get started with animation, audio, WebGL, accessibility, and contribution to p5.js in this <a href=\"https://hello.p5js.org/\">interactive video</a> (works best on a desktop web browser):</p>",
51+
"target": [
52+
"p:nth-child(4)"
53+
]
54+
}
55+
],
56+
"impact": "serious",
57+
"message": "The link has no styling (such as underline) to distinguish it from the surrounding text"
58+
}
59+
],
60+
"all": [],
61+
"none": [],
62+
"impact": "serious",
63+
"html": "<a href=\"https://hello.p5js.org/\">interactive video</a>",
64+
"target": [
65+
"p:nth-child(4) > a[href$=\"hello.p5js.org/\"]"
66+
],
67+
"failureSummary": "Fix any of the following:\n The link has insufficient color contrast of 2.98:1 with the surrounding text. (Minimum contrast is 3:1, link text: #b20046, surrounding text: #000000)\n The link has no styling (such as underline) to distinguish it from the surrounding text"
68+
}
69+
]
70+
},
71+
{
72+
"id": "region",
73+
"impact": "moderate",
74+
"tags": [
75+
"cat.keyboard",
76+
"best-practice"
77+
],
78+
"description": "Ensure all page content is contained by landmarks",
79+
"help": "All page content should be contained by landmarks",
80+
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/region?application=playwright",
81+
"nodes": [
82+
{
83+
"any": [
84+
{
85+
"id": "region",
86+
"data": {
87+
"isIframe": false
88+
},
89+
"relatedNodes": [],
90+
"impact": "moderate",
91+
"message": "Some page content is not contained by landmarks"
92+
}
93+
],
94+
"all": [],
95+
"none": [],
96+
"impact": "moderate",
97+
"html": "<a class=\"banner-content\" href=\"https://beta.p5js.org\" target=\"_blank\" data-astro-source-file=\"/Users/ysun01/Documents/p5.js-website/src/components/Banner/index.astro\" data-astro-source-loc=\"9:57\">\n <p>Looking for the new version? Find p5.js 2.0 here!</p>\n </a>",
98+
"target": [
99+
".banner-content"
100+
],
101+
"failureSummary": "Fix any of the following:\n Some page content is not contained by landmarks"
102+
}
103+
]
104+
}
105+
]
106+
}
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
{
2+
"name": "Code of Conduct",
3+
"path": "/code-of-conduct/",
4+
"passed": false,
5+
"violationsCount": 2,
6+
"violations": [
7+
{
8+
"id": "link-in-text-block",
9+
"impact": "serious",
10+
"tags": [
11+
"cat.color",
12+
"wcag2a",
13+
"wcag141",
14+
"TTv5",
15+
"TT13.a",
16+
"EN-301-549",
17+
"EN-9.1.4.1"
18+
],
19+
"description": "Ensure links are distinguished from surrounding text in a way that does not rely on color",
20+
"help": "Links must be distinguishable without relying on color",
21+
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/link-in-text-block?application=playwright",
22+
"nodes": [
23+
{
24+
"any": [
25+
{
26+
"id": "link-in-text-block",
27+
"data": {
28+
"messageKey": "fgContrast",
29+
"contrastRatio": 2.98,
30+
"requiredContrastRatio": 3,
31+
"nodeColor": "#b20046",
32+
"parentColor": "#000000"
33+
},
34+
"relatedNodes": [
35+
{
36+
"html": "<p>If you believe someone is violating the code of conduct, we ask that you report it by emailing <a href=\"mailto:[email protected]\">[email protected]</a>. Please include your name and a description of the incident, and we will get back to you ASAP.</p>",
37+
"target": [
38+
"p:nth-child(2)"
39+
]
40+
}
41+
],
42+
"impact": "serious",
43+
"message": "The link has insufficient color contrast of 2.98:1 with the surrounding text. (Minimum contrast is 3:1, link text: #b20046, surrounding text: #000000)"
44+
},
45+
{
46+
"id": "link-in-text-block-style",
47+
"data": null,
48+
"relatedNodes": [
49+
{
50+
"html": "<p>If you believe someone is violating the code of conduct, we ask that you report it by emailing <a href=\"mailto:[email protected]\">[email protected]</a>. Please include your name and a description of the incident, and we will get back to you ASAP.</p>",
51+
"target": [
52+
"p:nth-child(2)"
53+
]
54+
}
55+
],
56+
"impact": "serious",
57+
"message": "The link has no styling (such as underline) to distinguish it from the surrounding text"
58+
}
59+
],
60+
"all": [],
61+
"none": [],
62+
"impact": "serious",
63+
"html": "<a href=\"mailto:[email protected]\">[email protected]</a>",
64+
"target": [
65+
"a[href$=\"mailto:[email protected]\"]"
66+
],
67+
"failureSummary": "Fix any of the following:\n The link has insufficient color contrast of 2.98:1 with the surrounding text. (Minimum contrast is 3:1, link text: #b20046, surrounding text: #000000)\n The link has no styling (such as underline) to distinguish it from the surrounding text"
68+
}
69+
]
70+
},
71+
{
72+
"id": "region",
73+
"impact": "moderate",
74+
"tags": [
75+
"cat.keyboard",
76+
"best-practice"
77+
],
78+
"description": "Ensure all page content is contained by landmarks",
79+
"help": "All page content should be contained by landmarks",
80+
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/region?application=playwright",
81+
"nodes": [
82+
{
83+
"any": [
84+
{
85+
"id": "region",
86+
"data": {
87+
"isIframe": false
88+
},
89+
"relatedNodes": [],
90+
"impact": "moderate",
91+
"message": "Some page content is not contained by landmarks"
92+
}
93+
],
94+
"all": [],
95+
"none": [],
96+
"impact": "moderate",
97+
"html": "<a class=\"banner-content\" href=\"https://beta.p5js.org\" target=\"_blank\" data-astro-source-file=\"/Users/ysun01/Documents/p5.js-website/src/components/Banner/index.astro\" data-astro-source-loc=\"9:57\">\n <p>Looking for the new version? Find p5.js 2.0 here!</p>\n </a>",
98+
"target": [
99+
".banner-content"
100+
],
101+
"failureSummary": "Fix any of the following:\n Some page content is not contained by landmarks"
102+
}
103+
]
104+
}
105+
]
106+
}

a11y-test-results/community.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"name": "Community",
3+
"path": "/community/",
4+
"passed": false,
5+
"violationsCount": 1,
6+
"violations": [
7+
{
8+
"id": "region",
9+
"impact": "moderate",
10+
"tags": [
11+
"cat.keyboard",
12+
"best-practice"
13+
],
14+
"description": "Ensure all page content is contained by landmarks",
15+
"help": "All page content should be contained by landmarks",
16+
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/region?application=playwright",
17+
"nodes": [
18+
{
19+
"any": [
20+
{
21+
"id": "region",
22+
"data": {
23+
"isIframe": false
24+
},
25+
"relatedNodes": [],
26+
"impact": "moderate",
27+
"message": "Some page content is not contained by landmarks"
28+
}
29+
],
30+
"all": [],
31+
"none": [],
32+
"impact": "moderate",
33+
"html": "<a class=\"banner-content\" href=\"https://beta.p5js.org\" target=\"_blank\" data-astro-source-file=\"/Users/ysun01/Documents/p5.js-website/src/components/Banner/index.astro\" data-astro-source-loc=\"9:57\">\n <p>Looking for the new version? Find p5.js 2.0 here!</p>\n </a>",
34+
"target": [
35+
".banner-content"
36+
],
37+
"failureSummary": "Fix any of the following:\n Some page content is not contained by landmarks"
38+
}
39+
]
40+
}
41+
]
42+
}

a11y-test-results/contact.json

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
{
2+
"name": "Contact",
3+
"path": "/contact/",
4+
"passed": false,
5+
"violationsCount": 2,
6+
"violations": [
7+
{
8+
"id": "link-in-text-block",
9+
"impact": "serious",
10+
"tags": [
11+
"cat.color",
12+
"wcag2a",
13+
"wcag141",
14+
"TTv5",
15+
"TT13.a",
16+
"EN-301-549",
17+
"EN-9.1.4.1"
18+
],
19+
"description": "Ensure links are distinguished from surrounding text in a way that does not rely on color",
20+
"help": "Links must be distinguishable without relying on color",
21+
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/link-in-text-block?application=playwright",
22+
"nodes": [
23+
{
24+
"any": [
25+
{
26+
"id": "link-in-text-block",
27+
"data": {
28+
"messageKey": "fgContrast",
29+
"contrastRatio": 2.98,
30+
"requiredContrastRatio": 3,
31+
"nodeColor": "#b20046",
32+
"parentColor": "#000000"
33+
},
34+
"relatedNodes": [
35+
{
36+
"html": "<p>You can get in touch with us at <a href=\"mailto:[email protected]\">[email protected]</a>.</p>",
37+
"target": [
38+
".max-w-\\[770px\\] > p"
39+
]
40+
}
41+
],
42+
"impact": "serious",
43+
"message": "The link has insufficient color contrast of 2.98:1 with the surrounding text. (Minimum contrast is 3:1, link text: #b20046, surrounding text: #000000)"
44+
},
45+
{
46+
"id": "link-in-text-block-style",
47+
"data": null,
48+
"relatedNodes": [
49+
{
50+
"html": "<p>You can get in touch with us at <a href=\"mailto:[email protected]\">[email protected]</a>.</p>",
51+
"target": [
52+
".max-w-\\[770px\\] > p"
53+
]
54+
}
55+
],
56+
"impact": "serious",
57+
"message": "The link has no styling (such as underline) to distinguish it from the surrounding text"
58+
}
59+
],
60+
"all": [],
61+
"none": [],
62+
"impact": "serious",
63+
"html": "<a href=\"mailto:[email protected]\">[email protected]</a>",
64+
"target": [
65+
"a[href$=\"mailto:[email protected]\"]"
66+
],
67+
"failureSummary": "Fix any of the following:\n The link has insufficient color contrast of 2.98:1 with the surrounding text. (Minimum contrast is 3:1, link text: #b20046, surrounding text: #000000)\n The link has no styling (such as underline) to distinguish it from the surrounding text"
68+
}
69+
]
70+
},
71+
{
72+
"id": "region",
73+
"impact": "moderate",
74+
"tags": [
75+
"cat.keyboard",
76+
"best-practice"
77+
],
78+
"description": "Ensure all page content is contained by landmarks",
79+
"help": "All page content should be contained by landmarks",
80+
"helpUrl": "https://dequeuniversity.com/rules/axe/4.10/region?application=playwright",
81+
"nodes": [
82+
{
83+
"any": [
84+
{
85+
"id": "region",
86+
"data": {
87+
"isIframe": false
88+
},
89+
"relatedNodes": [],
90+
"impact": "moderate",
91+
"message": "Some page content is not contained by landmarks"
92+
}
93+
],
94+
"all": [],
95+
"none": [],
96+
"impact": "moderate",
97+
"html": "<a class=\"banner-content\" href=\"https://beta.p5js.org\" target=\"_blank\" data-astro-source-file=\"/Users/ysun01/Documents/p5.js-website/src/components/Banner/index.astro\" data-astro-source-loc=\"9:57\">\n <p>Looking for the new version? Find p5.js 2.0 here!</p>\n </a>",
98+
"target": [
99+
".banner-content"
100+
],
101+
"failureSummary": "Fix any of the following:\n Some page content is not contained by landmarks"
102+
}
103+
]
104+
}
105+
]
106+
}

0 commit comments

Comments
 (0)