Skip to content

Commit 6c3dff0

Browse files
committed
fix(plugin-axe): update e2e snapshot for new message format
1 parent 512c0fe commit 6c3dff0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

e2e/plugin-axe-e2e/tests/__snapshots__/collect.e2e.test.ts.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ exports[`PLUGIN collect report with axe-plugin NPM package > should run plugin o
497497
"details": {
498498
"issues": [
499499
{
500-
"message": "[\`body > button\`] Fix any of the following: Element does not have inner text that is visible to screen readers 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 Element does not have an implicit (wrapped) <label> Element does not have an explicit <label> Element's default semantics were not overridden with role="none" or role="presentation"",
500+
"message": "Element does not have inner text that is visible to screen readers",
501501
"severity": "error",
502502
"source": {
503503
"selector": "body > button",
@@ -528,7 +528,7 @@ exports[`PLUGIN collect report with axe-plugin NPM package > should run plugin o
528528
"details": {
529529
"issues": [
530530
{
531-
"message": "[\`.low-contrast\`] Fix any of the following: Element has insufficient color contrast of 1.57 (foreground color: #777777, background color: #999999, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1",
531+
"message": "Element has insufficient color contrast of 1.57 (foreground color: #777777, background color: #999999, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1",
532532
"severity": "error",
533533
"source": {
534534
"selector": ".low-contrast",
@@ -624,7 +624,7 @@ exports[`PLUGIN collect report with axe-plugin NPM package > should run plugin o
624624
"details": {
625625
"issues": [
626626
{
627-
"message": "[\`div[role="button"]\`] Fix any of the following: Invalid ARIA attribute name: aria-invalid-attribute",
627+
"message": "Invalid ARIA attribute name: aria-invalid-attribute",
628628
"severity": "error",
629629
"source": {
630630
"selector": "div[role=\"button\"]",
@@ -648,7 +648,7 @@ exports[`PLUGIN collect report with axe-plugin NPM package > should run plugin o
648648
"details": {
649649
"issues": [
650650
{
651-
"message": "[\`img\`] 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 Element's default semantics were not overridden with role="none" or role="presentation"",
651+
"message": "Element does not have an alt attribute",
652652
"severity": "error",
653653
"source": {
654654
"selector": "img",
@@ -670,7 +670,7 @@ exports[`PLUGIN collect report with axe-plugin NPM package > should run plugin o
670670
"details": {
671671
"issues": [
672672
{
673-
"message": "[\`a\`] Fix all of the following: Element is in tab order and does not have accessible text Fix any of the following: Element does not have text that is visible to screen readers 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",
673+
"message": "Element is in tab order and does not have accessible text",
674674
"severity": "error",
675675
"source": {
676676
"selector": "a",

0 commit comments

Comments
 (0)