mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 02:40:26 -06:00
enable rule jsx-a11y/role-supports-aria-props (#55839)
This commit is contained in:
parent
422b22a513
commit
527c00dae5
@ -91,7 +91,7 @@
|
||||
"jsx-a11y/no-redundant-roles": "error",
|
||||
"jsx-a11y/no-static-element-interactions": "off",
|
||||
"jsx-a11y/role-has-required-aria-props": "off",
|
||||
"jsx-a11y/role-supports-aria-props": "off",
|
||||
"jsx-a11y/role-supports-aria-props": "error",
|
||||
"jsx-a11y/scope": "error",
|
||||
"jsx-a11y/tabindex-no-positive": "error"
|
||||
},
|
||||
|
@ -65,7 +65,7 @@ export function NavBarMenuItem({
|
||||
|
||||
if (isMobile) {
|
||||
return isDivider ? (
|
||||
<li data-testid="dropdown-child-divider" className={styles.divider} tabIndex={-1} aria-disabled />
|
||||
<div data-testid="dropdown-child-divider" className={styles.divider} tabIndex={-1} aria-disabled />
|
||||
) : (
|
||||
<li className={styles.listItem}>{element}</li>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user