diff --git a/__tests__/__snapshots__/index.test.js.snap b/__tests__/__snapshots__/index.test.js.snap index ad83204..a6a64fb 100644 --- a/__tests__/__snapshots__/index.test.js.snap +++ b/__tests__/__snapshots__/index.test.js.snap @@ -15,12 +15,11 @@ Fix any of the following: Element does not have an alt attribute aria-label attribute does not exist or is empty aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty - Element has no title attribute or the title attribute is empty - Element's default semantics were not overridden with role=\\"presentation\\" - Element's default semantics were not overridden with role=\\"none\\" + Element has no title attribute + Element's default semantics were not overridden with role=\\"none\\" or role=\\"presentation\\" You can find more information on this issue here: -https://dequeuniversity.com/rules/axe/4.0/image-alt?application=axeAPI +https://dequeuniversity.com/rules/axe/4.2/image-alt?application=axeAPI ──────── @@ -30,13 +29,13 @@ Expected the HTML found at $('img') to have no violations: Received: -\\"All page content must be contained by landmarks (region)\\" +\\"All page content should be contained by landmarks (region)\\" Fix any of the following: Some page content is not contained by landmarks You can find more information on this issue here: -https://dequeuniversity.com/rules/axe/4.0/region?application=axeAPI" +https://dequeuniversity.com/rules/axe/4.2/region?application=axeAPI" `; exports[`jest-axe toHaveNoViolations returns correctly formatted message when violations are present 1`] = ` @@ -77,12 +76,11 @@ Fix any of the following: Element does not have an alt attribute aria-label attribute does not exist or is empty aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty - Element has no title attribute or the title attribute is empty - Element's default semantics were not overridden with role=\\"presentation\\" - Element's default semantics were not overridden with role=\\"none\\" + Element has no title attribute + Element's default semantics were not overridden with role=\\"none\\" or role=\\"presentation\\" You can find more information on this issue here: -https://dequeuniversity.com/rules/axe/4.0/image-alt?application=axeAPI +https://dequeuniversity.com/rules/axe/4.2/image-alt?application=axeAPI Expected the HTML found at $('img[src=\\"http\\\\:\\\\/\\\\/example\\\\.com\\\\/2\\"]') to have no violations: @@ -96,12 +94,11 @@ Fix any of the following: Element does not have an alt attribute aria-label attribute does not exist or is empty aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty - Element has no title attribute or the title attribute is empty - Element's default semantics were not overridden with role=\\"presentation\\" - Element's default semantics were not overridden with role=\\"none\\" + Element has no title attribute + Element's default semantics were not overridden with role=\\"none\\" or role=\\"presentation\\" You can find more information on this issue here: -https://dequeuniversity.com/rules/axe/4.0/image-alt?application=axeAPI +https://dequeuniversity.com/rules/axe/4.2/image-alt?application=axeAPI ──────── @@ -114,14 +111,16 @@ Received: \\"Form elements must have labels (label)\\" Fix any of the following: - aria-label attribute does not exist or is empty - aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty Form element does not have an implicit (wrapped)