Skip to content

Commit 21a45a7

Browse files
committed
hanged that section-nav label to “Contact Us” in Privacy page
1 parent 20c5c76 commit 21a45a7

3 files changed

Lines changed: 55 additions & 36 deletions

File tree

‎axe-results-incomplete.json‎

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,53 @@
1-
[]
1+
[
2+
{
3+
"id": "identical-links-same-purpose",
4+
"impact": "minor",
5+
"tags": [
6+
"cat.semantics",
7+
"wcag2aaa",
8+
"wcag249"
9+
],
10+
"description": "Ensure that links with the same accessible name serve a similar purpose",
11+
"help": "Links with the same name must have a similar purpose",
12+
"helpUrl": "https://dequeuniversity.com/rules/axe/4.11/identical-links-same-purpose?application=playwright",
13+
"nodes": [
14+
{
15+
"any": [],
16+
"all": [
17+
{
18+
"id": "identical-links-same-purpose",
19+
"data": {
20+
"name": "contact",
21+
"urlProps": {
22+
"protocol": "http:",
23+
"hostname": "localhost",
24+
"port": "4321",
25+
"pathname": "/contact/",
26+
"search": {},
27+
"hash": "",
28+
"filename": ""
29+
}
30+
},
31+
"relatedNodes": [
32+
{
33+
"html": "<a href=\"#privacy-contact-us-title\" class=\"text-content-inverse hover:text-content-offset transition-colors no-underline\"> Contact </a>",
34+
"target": [
35+
".hover\\:text-content-offset.transition-colors[href$=\"#privacy-contact-us-title\"]"
36+
]
37+
}
38+
],
39+
"impact": "minor",
40+
"message": "Check that links have the same purpose, or are intentionally ambiguous."
41+
}
42+
],
43+
"none": [],
44+
"impact": "minor",
45+
"html": "<a href=\"/contact\" class=\"_mainNavLink_14gez_5...\">",
46+
"target": [
47+
"._mainNavLink_14gez_54.tracking-\\[5px\\][href$=\"contact\"]"
48+
],
49+
"failureSummary": "Fix all of the following:\n Check that links have the same purpose, or are intentionally ambiguous."
50+
}
51+
]
52+
}
53+
]

‎axe-results-violations.json‎

Lines changed: 1 addition & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1 @@
1-
[
2-
{
3-
"id": "page-has-heading-one",
4-
"impact": "moderate",
5-
"tags": [
6-
"cat.semantics",
7-
"best-practice"
8-
],
9-
"description": "Ensure that the page, or at least one of its frames contains a level-one heading",
10-
"help": "Page should contain a level-one heading",
11-
"helpUrl": "https://dequeuniversity.com/rules/axe/4.11/page-has-heading-one?application=playwright",
12-
"nodes": [
13-
{
14-
"any": [],
15-
"all": [
16-
{
17-
"id": "page-has-heading-one",
18-
"data": null,
19-
"relatedNodes": [],
20-
"impact": "moderate",
21-
"message": "Page must have a level-one heading"
22-
}
23-
],
24-
"none": [],
25-
"impact": "moderate",
26-
"html": "<html lang=\"en\" data-theme=\"light\" style=\"--theme-picker-offset: 0px; --header-current-height: 80px; --progress-bar-height: 0px; --layout-top-offset: 80px;\">",
27-
"target": [
28-
"html"
29-
],
30-
"failureSummary": "Fix all of the following:\n Page must have a level-one heading"
31-
}
32-
]
33-
}
34-
]
1+
[]

‎src/pages/privacy/index.astro‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const path = '/privacy'
7070
href: "#privacy-error-monitoring-title",
7171
},
7272
{
73-
label: "Contact",
73+
label: "Contact Us",
7474
href: "#privacy-contact-us-title",
7575
},
7676
{

0 commit comments

Comments
 (0)