chore(components): change tabindex name and value for string

This commit is contained in:
Adan Ulloa 2020-01-24 22:58:50 -06:00
commit b9d2676f87
5 changed files with 19 additions and 19 deletions

View file

@ -83,7 +83,7 @@
skeleton: false,
render: SettingsAdjust20,
title: 'Settings',
tabIndex: 0,
tabindex: '0',
focusable: false,
style: undefined
}
@ -222,7 +222,7 @@
skeleton: false,
render: ChangeCatalog16,
title: 'Catalog',
tabIndex: 0,
tabindex: '0',
focusable: false,
style: undefined
}
@ -238,7 +238,7 @@
skeleton: false,
render: ManageProtection16,
title: 'Protection',
tabIndex: 0,
tabindex: '0',
focusable: false,
style: undefined
}
@ -254,7 +254,7 @@
skeleton: false,
render: Recommend16,
title: 'Recommend',
tabIndex: 0,
tabindex: '0',
focusable: false,
style: undefined
}
@ -283,7 +283,7 @@
skeleton: false,
render: Settings16,
title: 'Settings',
tabIndex: 0,
tabindex: '0',
focusable: false,
style: undefined
}

View file

@ -10,8 +10,8 @@
import searchStore from '../searchStore';
import ActionSearchResult from './ActionSearchResult.svelte';
let searchTabIndex = 0;
let closeTabIndex = -1;
let searchTabIndex = '0';
let closeTabIndex = '-1';
let inputSearchField = undefined;
const dispatch = createEventDispatcher();
@ -46,11 +46,11 @@
}
$: if (searchIsActive) {
searchTabIndex = -1;
closeTabIndex = 0;
searchTabIndex = '-1';
closeTabIndex = '0';
} else {
searchTabIndex = 0;
closeTabIndex = -1;
searchTabIndex = '0';
closeTabIndex = '-1';
}
$: showResults = $searchStore ? true : false;

View file

@ -14,7 +14,7 @@
skeleton: false,
render: Menu20,
title: 'Open Menu',
tabIndex: 0,
tabindex: '0',
focusable: false,
style: undefined
}

View file

@ -27,7 +27,7 @@
skeleton: false,
render: ChevronDown16,
title: 'Open Menu',
tabIndex: 0,
tabindex: '0',
focusable: false,
style: undefined
};

View file

@ -13,7 +13,7 @@ export const leftPanelActions = {
skeleton: false,
render: Search20,
title: 'Search',
tabIndex: 0,
tabindex: '0',
focusable: false,
style: undefined
}
@ -25,7 +25,7 @@ export const leftPanelActions = {
skeleton: false,
render: Help20,
title: 'Help',
tabIndex: 0,
tabindex: '0',
focusable: false,
style: undefined
}
@ -37,7 +37,7 @@ export const leftPanelActions = {
skeleton: false,
render: Notification20,
title: 'Notifications',
tabIndex: 0,
tabindex: '0',
focusable: false,
style: undefined
}
@ -49,7 +49,7 @@ export const leftPanelActions = {
skeleton: false,
render: UserAvatar20,
title: 'Account',
tabIndex: 0,
tabindex: '0',
focusable: false,
style: undefined
}
@ -61,7 +61,7 @@ export const leftPanelActions = {
skeleton: false,
render: AppSwitcher20,
title: 'App Switcher',
tabIndex: 0,
tabindex: '0',
focusable: false,
style: undefined
}
@ -80,7 +80,7 @@ export const closeIcon = {
skeleton: false,
render: Close20,
title: 'Close',
tabIndex: 0,
tabindex: '0',
focusable: false,
style: undefined
};