Skip to content

Commit

Permalink
Ignore iframe tag when running the pa11y-ci automation test.
Browse files Browse the repository at this point in the history
  • Loading branch information
felder101 committed Mar 29, 2024
1 parent 4e5eb0d commit 6b356b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .pa11yci-desktop
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"defaults": {
"concurrency": 1,
"standard": "WCAG2AA",
"hideElements": "iframe",
"timeout": 20000,
"chromeLaunchConfig": {
"args": ["--no-sandbox"]
Expand Down
1 change: 1 addition & 0 deletions .pa11yci-mobile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"defaults": {
"concurrency": 1,
"standard": "WCAG2AA",
"hideElements": "iframe",
"timeout": 20000,
"chromeLaunchConfig": {
"args": ["--no-sandbox"]
Expand Down
2 changes: 1 addition & 1 deletion src/pages/policies-and-audits/audits/[...slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const { Content, headings } = await entry.render();
parent_nav_text = "Return to the Audit Repository"
classList = "usa-layout-docs__sidenav display-none desktop:display-block desktop:grid-col-4"
/>
<main id="main-content" class="usa-layout-docs__main desktop:grid-col-8 usa-prose usa-layout-docs">
<main id="main-content" class="desktop:grid-col-8 usa-prose usa-layout-docs">
<h1>{entry.data.title}</h1>
<Content />
</main>
Expand Down

0 comments on commit 6b356b4

Please sign in to comment.