[chore] fix tabindex-no-positive test div -> button

pull/6693/head
shinyaigeek 5 years ago committed by tanhauhau
parent ccb59d91cd
commit f26e5c643d

@ -2,7 +2,7 @@
let foo; let foo;
</script> </script>
<div tabindex='-1'/> <button tabindex='-1'/>
<div tabindex='0'/> <button tabindex='0'/>
<div tabindex='1'/> <button tabindex='1'/>
<div tabindex='{foo}'/> <button tabindex='{foo}'/>

@ -4,14 +4,14 @@
"message": "A11y: avoid tabindex values above zero", "message": "A11y: avoid tabindex values above zero",
"start": { "start": {
"line": 7, "line": 7,
"column": 5, "column": 8,
"character": 76 "character": 85
}, },
"end": { "end": {
"line": 7, "line": 7,
"column": 17, "column": 20,
"character": 88 "character": 97
}, },
"pos": 76 "pos": 85
} }
] ]

Loading…
Cancel
Save