Open
Description
Many components share the same accessibility rules such as TextArea and Input. It would be great to make a config like an array and to have the rules generic and could be applied to the list of component names in the config file. e.g. https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/src/rules/alt-text.js ```
const DEFAULT_ELEMENTS = [
'img',
'object',
'area',
'input[type="image"]',
];
Would be better if this config was user-configurable because of component name changes. E.g. in their eslintrc file: ```
"@microsoft/fluentui-jsx-a11y/image-button-missing-aria-v9": ["error", coverComponents: : [
'button',
'checkbox',
'link',
'searchbox',
'spinbutton',
'switch',
'textbox',
],]
Metadata
Metadata
Assignees
Labels
No labels