You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: __tests__/src/rules/img-redundant-alt-test.js
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -24,9 +24,7 @@ const array = [{
24
24
construleTester=newRuleTester();
25
25
26
26
constexpectedError={
27
-
message: 'Redundant alt attribute. Screen-readers already announce `img` tags as an image. '+
28
-
'You don\'t need to use the words `image`, `photo,` or `picture` '+
29
-
'(or any specified custom words) in the alt prop.',
27
+
message: 'Redundant alt attribute. Screen-readers already announce `img` tags as an image. You don’t need to use the words `image`, `photo,` or `picture` (or any specified custom words) in the alt prop.',
'between keyboard shortcuts and keyboard comments used by screenreader '+
24
-
'and keyboard only users create a11y complications.',
22
+
message: 'No access key attribute allowed. Inconsistencies between keyboard shortcuts and keyboard comments used by screenreader and keyboard only users create a11y complications.',
0 commit comments