mirror of
https://github.com/grafana/grafana.git
synced 2025-02-16 10:24:54 -06:00
turn on tabindex-no-positive rule (#55830)
This commit is contained in:
parent
d17ab82b98
commit
afdb094983
@ -93,7 +93,7 @@
|
||||
"jsx-a11y/role-has-required-aria-props": "off",
|
||||
"jsx-a11y/role-supports-aria-props": "off",
|
||||
"jsx-a11y/scope": "error",
|
||||
"jsx-a11y/tabindex-no-positive": "off"
|
||||
"jsx-a11y/tabindex-no-positive": "error"
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
|
@ -27,10 +27,10 @@ const meta: ComponentMeta<typeof Dropdown> = {
|
||||
export function Examples() {
|
||||
const menu = (
|
||||
<Menu>
|
||||
<Menu.Item label="View settings" tabIndex={0} />
|
||||
<Menu.Item label="Edit actions" tabIndex={1} />
|
||||
<Menu.Item label="Share" tabIndex={2} />
|
||||
<Menu.Item label="Delete" tabIndex={3} />
|
||||
<Menu.Item label="View settings" />
|
||||
<Menu.Item label="Edit actions" />
|
||||
<Menu.Item label="Share" />
|
||||
<Menu.Item label="Delete" />
|
||||
</Menu>
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user