Skip to content

Commit

Permalink
Merge pull request #608 from github/kh-update-config
Browse files Browse the repository at this point in the history
Update a11y rule config to not flag `role` being set for `ul`
  • Loading branch information
khiga8 authored Feb 3, 2025
2 parents ec2cbb6 + e5b0378 commit 8a39ace
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 explicit role.
},
],
},
Expand Down

0 comments on commit 8a39ace

Please sign in to comment.