refactor(ui): a11y improvements

This commit is contained in:
liyasthomas
2021-08-06 21:40:26 +05:30
parent 3a96eb003b
commit 346ece94b7
31 changed files with 59 additions and 155 deletions

View File

@@ -41,7 +41,6 @@
v-if="siblingDropDownIndex == index"
ref="options"
interactive
tabindex="-1"
trigger="click"
theme="popover"
arrow

View File

@@ -1,14 +1,7 @@
<template>
<span class="inline-flex">
<span class="select-wrapper">
<tippy
ref="language"
interactive
tabindex="-1"
trigger="click"
theme="popover"
arrow
>
<tippy ref="language" interactive trigger="click" theme="popover" arrow>
<template #trigger>
<ButtonSecondary
v-tippy="{ theme: 'tooltip' }"

View File

@@ -1,14 +1,7 @@
<template>
<span class="inline-flex">
<span class="select-wrapper">
<tippy
ref="fontSize"
interactive
tabindex="-1"
trigger="click"
theme="popover"
arrow
>
<tippy ref="fontSize" interactive trigger="click" theme="popover" arrow>
<template #trigger>
<ButtonSecondary
v-tippy="{ theme: 'tooltip' }"

View File

@@ -8,7 +8,7 @@
:key="`tab-${index}`"
class="tab"
:class="{ active: tab.active }"
:tabindex="0"
tabindex="0"
@keyup.enter="selectTab(tab)"
@click="selectTab(tab)"
>