Skip to content

Commit 8a39ace

Browse files
authored
Merge pull request #608 from github/kh-update-config
Update a11y rule config to not flag `role` being set for `ul`
2 parents ec2cbb6 + e5b0378 commit 8a39ace

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/configs/react.js

Lines changed: 1 addition & 0 deletions
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 explicit role.
3940
},
4041
],
4142
},

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy