Skip to content

Commit

Permalink
Don't flag ul with role='list'
Browse files Browse the repository at this point in the history
  • Loading branch information
khiga8 committed Feb 3, 2025
1 parent ec2cbb6 commit 570ca64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/configs/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ module.exports = {
nav: ['navigation'], // default in eslint-plugin-jsx-a11y
tbody: ['rowgroup'],
thead: ['rowgroup'],
ul: ['list'] // In webkit, setting list-style-type: none results in semantics being removed. Need for explicit role.

Check failure on line 39 in lib/configs/react.js

View workflow job for this annotation

GitHub Actions / build (20)

Insert `,`
},
],
},
Expand Down

0 comments on commit 570ca64

Please sign in to comment.