We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
jsx-a11y/no-redundant-roles
nav
navigation
1 parent 09adc22 commit b239920Copy full SHA for b239920
packages/eslint-config-airbnb/rules/react-a11y.js
@@ -201,7 +201,9 @@ module.exports = {
201
202
// ensure HTML elements do not specify redundant ARIA roles
203
// https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-redundant-roles.md
204
- 'jsx-a11y/no-redundant-roles': 'error',
+ 'jsx-a11y/no-redundant-roles': ['error', {
205
+ nav: ['navigation'],
206
+ }],
207
208
// Enforce that DOM elements without semantic behavior not have interaction handlers
209
// https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-static-element-interactions.md
0 commit comments