You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [ ] The specific axe violation reported in this issue is no longer reproducible.
16
+
- [ ] The fix MUST meet WCAG 2.1 guidelines OR the accessibility standards specified by the repository or organization.
17
+
- [ ] A test SHOULD be added to ensure this specific axe violation does not regress.
18
+
- [ ] This PR MUST NOT introduce any new accessibility issues or regressions.
19
+
`;
20
+
constbody=`## What
21
+
An accessibility scan flagged the element \`${finding.html}\` on ${finding.url} because ${finding.problemShort}. Learn more about why this was flagged by visiting ${finding.problemUrl}.
`Accessibility issue: ${finding.problemShort[0].toUpperCase()+finding.problemShort.slice(1)} on ${newURL(finding.url).pathname}`,
26
-
GITHUB_ISSUE_TITLE_MAX_LENGTH
27
+
GITHUB_ISSUE_TITLE_MAX_LENGTH,
27
28
);
28
-
constsolutionLong=finding.solutionLong
29
-
?.split("\n")
30
-
.map((line)=>
31
-
!line.trim().startsWith("Fix any")&&
32
-
!line.trim().startsWith("Fix all")&&
33
-
line.trim()!==""
34
-
? `- ${line}`
35
-
: line
36
-
)
37
-
.join("\n");
38
-
constacceptanceCriteria=`## Acceptance Criteria
39
-
- [ ] The specific axe violation reported in this issue is no longer reproducible.
40
-
- [ ] The fix MUST meet WCAG 2.1 guidelines OR the accessibility standards specified by the repository or organization.
41
-
- [ ] A test SHOULD be added to ensure this specific axe violation does not regress.
42
-
- [ ] This PR MUST NOT introduce any new accessibility issues or regressions.
43
-
`;
44
-
constbody=`## What
45
-
An accessibility scan flagged the element \`${finding.html}\` on ${finding.url} because ${finding.problemShort}. Learn more about why this was flagged by visiting ${finding.problemUrl}.
0 commit comments