Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump axe-puppeteer from 1.0.0 to 1.1.1 #2442

Merged
merged 2 commits into from
Dec 2, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 24, 2022

Bumps axe-puppeteer from 1.0.0 to 1.1.1.

Changelog

Sourced from axe-puppeteer's changelog.

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.1.0 (2020-04-03)

Features

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 24, 2022
@dependabot dependabot bot requested a review from a team November 24, 2022 01:00
@netlify
Copy link

netlify bot commented Nov 24, 2022

You can preview this change here:

Name Link
🔨 Latest commit 69e3648
🔍 Latest deploy log https://app.netlify.com/sites/govuk-design-system-preview/deploys/6387d5bcd9fd8200080b9280
😎 Deploy Preview https://deploy-preview-2442--govuk-design-system-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@domoscargin
Copy link
Contributor

Glanced at this yesterday. I think we have errors caused by:

  • The skip link not being contained in a landmark (a known "issue")
  • The back to top button not being contained in a landmark (similar to the above)

Both of those are easily fixed by excluding .govuk-skip-link and .app-back-to-top.

Then there's a bunch of errors on the component page test (radios) which I think are caused by some kind of iFrame mix up.

For example, the second code sample has an h1 "Where do you live?". That is contained within an iFrame. Outside of the iFrame, in the main content flow, the next heading following that is an h3 "If you're asking more than one question on the page". Axe complains that we've jumped h2.

I would've expected main page content and iFrame content to be dealt with separately in terms of WCAG rules, but I haven't dug in enough to figure out if that's the case and this is some kind of bug with our code, or if this is correct behaviour. Maybe @davidc-gds knows more?

@dav-idc
Copy link
Contributor

dav-idc commented Nov 24, 2022

Hey @domoscargin I did a bit of testing today with NVDA and JAWS, and they do pick up headings within iframes. They also don't differentiate between headings in an iframe and outside of an iframe -- they're all lumped together in the list of headings. This does mean that a legit issue is being picked up, and it's not really a bug.

That being said, I don't see how we could fix it, since it's important that we use <h1> headings in these examples. Might just need to be one of those things we ignore / acknowledge in our pages that have examples.

@dav-idc
Copy link
Contributor

dav-idc commented Nov 24, 2022

[Extra trivia] I found this blog post that talks a bit about heading levels across iframes and how screen readers interact with that. My previous comment covers this stuff, but it's a fairly informative article for those interested. https://www.accessibility-developer-guide.com/examples/headings/iframes/

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/axe-puppeteer-1.1.1 branch from cc478fc to abc07d9 Compare November 28, 2022 16:50
@domoscargin domoscargin self-assigned this Nov 30, 2022
dependabot bot and others added 2 commits November 30, 2022 22:12
Bumps [axe-puppeteer](https://github.com/dequelabs/axe-puppeteer) from 1.0.0 to 1.1.1.
- [Release notes](https://github.com/dequelabs/axe-puppeteer/releases)
- [Changelog](https://github.com/dequelabs/axe-puppeteer/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/dequelabs/axe-puppeteer/commits)

---
updated-dependencies:
- dependency-name: axe-puppeteer
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@domoscargin domoscargin force-pushed the dependabot/npm_and_yarn/axe-puppeteer-1.1.1 branch from d3bad66 to 69e3648 Compare November 30, 2022 22:14
Copy link
Contributor

@domoscargin domoscargin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh, the iFrame issues seem to have sorted themselves. Suspect it may have to do with changes to the markdown which has cleaned up our compiled output a bit.

I've added fixes for the skip link and back to top buttons, both of which were being flagged as not contained in a landmark, and both of which are intentionally so.

@domoscargin
Copy link
Contributor

domoscargin commented Dec 1, 2022

Ah, no - the iFrame issues come when switching from the deprecated axe-puppeteer to the current @axe-core/puppeteer, so will still have to be dealt with later, but this is good to go for now.

@domoscargin domoscargin mentioned this pull request Dec 1, 2022
3 tasks
@domoscargin domoscargin requested a review from a team December 1, 2022 21:42
@colinrotherham colinrotherham merged commit 8379cdd into main Dec 2, 2022
@colinrotherham colinrotherham deleted the dependabot/npm_and_yarn/axe-puppeteer-1.1.1 branch December 2, 2022 09:14
colinrotherham added a commit that referenced this pull request Jan 13, 2023
This matches axe behaviour from previous releases, but see discussion: #2442 (comment)
colinrotherham added a commit that referenced this pull request Jan 13, 2023
This matches axe behaviour from previous releases, but see discussion: #2442 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
Development

Successfully merging this pull request may close these issues.

3 participants