Fix ignore in pallyci

This commit is contained in:
Rebecca Hsieh 2024-05-30 12:25:38 -07:00
parent 009d8948bc
commit ae4fb7b5e5
No known key found for this signature in database
2 changed files with 30 additions and 20 deletions

View file

@ -3,7 +3,8 @@
"concurrency": 1,
"timeout": 30000
},
"urls": [
"urls": {
[
"http://localhost:8080/",
"http://localhost:8080/health/",
"http://localhost:8080/request/",
@ -21,5 +22,13 @@
"http://localhost:8080/request/requirements/",
"http://localhost:8080/request/finished/",
"http://localhost:8080/user-profile/"
{
"url": "http://localhost:8080/request/authorizing_official/",
"viewport": { "width": 320, "height": 480 },
"ignore": [
"WCAG2AA.Principle2.Guideline2_2.2_2_1.H91"
],
}
]
}
}

View file

@ -402,7 +402,8 @@ class DomainRequestWizard(DomainRequestWizardPermissionView, TemplateView):
}
else: # form is not complete
modal_button = (
'<button type="button" role="submit" class="usa-button" data-close-modal>Return to request</button>'
"<!-- pa11y-ignore-next-line WCAG2AA.Principle2.Guideline2_2.2_2_1.H91 -->"
'<button type="button" class="usa-button" data-close-modal>Return to request</button>'
)
context_stuff = {
"form_titles": self.TITLES,