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
msg: 'You have a click handler on a non-interactive element but no `tabIndex` DOM property. The element will not be navigable or interactive by keyboard users. http://www.w3.org/TR/wai-aria-practices/#focus_tabindex',
122
119
test(tagName,props,children){
123
120
return!(
@@ -128,15 +125,13 @@ exports.props = {
128
125
},
129
126
130
127
BUTTON_ROLE_SPACE: {
131
-
device: DEVICE.DESKTOP,
132
128
msg: 'You have `role="button"` but did not define an `onKeyDown` handler. Add it, and have the "Space" key do the same thing as an `onClick` handler.',
133
129
test(tagName,props,children){
134
130
return!(props.role==='button'&&!props.onKeyDown);
135
131
}
136
132
},
137
133
138
134
BUTTON_ROLE_ENTER: {
139
-
device: DEVICE.DESKTOP,
140
135
msg: 'You have `role="button"` but did not define an `onKeyDown` handler. Add it, and have the "Enter" key do the same thing as an `onClick` handler.',
141
136
test(tagName,props,children){
142
137
return!(props.role==='button'&&!props.onKeyDown);
@@ -170,7 +165,7 @@ exports.tags = {
170
165
}
171
166
},
172
167
173
-
REDUDANT_ALT: {
168
+
REDUNDANT_ALT: {
174
169
// TODO: have some way to set localization strings to match against
175
170
msg: 'Screen-readers already announce `img` tags as an image, you don\'t need to use the word "image" in the description',
0 commit comments