Skip to content

Commit 570ca64

Browse files
committed
Don't flag ul with role='list'
1 parent ec2cbb6 commit 570ca64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/configs/react.js

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ module.exports = {
3636
nav: ['navigation'], // default in eslint-plugin-jsx-a11y
3737
tbody: ['rowgroup'],
3838
thead: ['rowgroup'],
39+
ul: ['list'] // In webkit, setting list-style-type: none results in semantics being removed. Need for explicit role.
3940
},
4041
],
4142
},

0 commit comments

Comments
 (0)