Skip to content

Commit

Permalink
Merge pull request #4311 from alphagov/dependabot/npm_and_yarn/axe-co…
Browse files Browse the repository at this point in the history
…re-4.10.1

Bump axe-core from 4.10.0 to 4.10.1
  • Loading branch information
jon-kirwan authored Oct 17, 2024
2 parents 6c3a133 + 84f5522 commit 17d4719
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"dependencies": {
"accessible-autocomplete": "^3.0.1",
"axe-core": "^4.10.0",
"axe-core": "^4.10.1",
"chartkick": "^5.0.1",
"govuk-frontend": "5.7.0",
"govuk-single-consent": "^3.0.9",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
expect(page).to have_selector(selector_with_error, visible: false)

within ".component-guide-preview--violation" do
expect(page).to have_selector("h3", text: "Images must have alternate text")
expect(page).to have_selector("h3", text: "Images must have alternative text")
expect(page).to have_selector('h3 a[href*="https://dequeuniversity.com"]', text: "(see guidance)")
expect(page).to have_text("Element does not have an alt attribute")
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ describe('AccessibilityTest', function () {

var errorMessage = renderErrorMessage({
id: 'image-alt',
problem: 'Images must have alternate text',
problem: 'Images must have alternative text',
html: '<img src="">',
selector: 'img',
helpUrl: 'https://dequeuniversity.com/rules/axe/4.10/image-alt?application=axeAPI'
Expand Down Expand Up @@ -173,7 +173,7 @@ describe('AccessibilityTest', function () {
renderErrorMessage({
id: 'image-alt',
skipHeader: true,
problem: 'Images must have alternate text',
problem: 'Images must have alternative text',
html: '<img src="">',
selector: 'img',
helpUrl: 'https://dequeuniversity.com/rules/axe/4.10/image-alt?application=axeAPI'
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -437,10 +437,10 @@ async@^3.2.3:
resolved "https://registry.yarnpkg.com/async/-/async-3.2.3.tgz#ac53dafd3f4720ee9e8a160628f18ea91df196c9"
integrity sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==

axe-core@^4.10.0:
version "4.10.0"
resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.10.0.tgz#d9e56ab0147278272739a000880196cdfe113b59"
integrity sha512-Mr2ZakwQ7XUAjp7pAwQWRhhK8mQQ6JAaNWSjmjxil0R8BPioMtQsTLOolGYkji1rcL++3dCqZA3zWqpT+9Ew6g==
axe-core@^4.10.1:
version "4.10.1"
resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.10.1.tgz#7d2589b0183f05b0f23e55c2f4cdf97b5bdc66d9"
integrity sha512-qPC9o+kD8Tir0lzNGLeghbOrWMr3ZJpaRlCIb6Uobt/7N4FiEDvqUMnxzCHRHmg8vOg14kr5gVNyScRmbMaJ9g==

balanced-match@^1.0.0:
version "1.0.2"
Expand Down

0 comments on commit 17d4719

Please sign in to comment.