From 1695605ab591d754b64ceb558dd137aee8283831 Mon Sep 17 00:00:00 2001 From: Aiz <66974576+Aiz0@users.noreply.github.com> Date: Wed, 12 Oct 2022 17:02:39 +0000 Subject: [PATCH] Remove deprecated @keypress + some accessability improvements (#2697) * remove deprecated @keypress from top-nav * remove deprecated @keypress from side-nav * add role and tabindex to new window button it could previously not be selected by tabbing over the buttons --- src/renderer/components/side-nav/side-nav.vue | 15 ++++++++------- src/renderer/components/top-nav/top-nav.vue | 13 ++++++++----- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/src/renderer/components/side-nav/side-nav.vue b/src/renderer/components/side-nav/side-nav.vue index f859356f..34b07add 100644 --- a/src/renderer/components/side-nav/side-nav.vue +++ b/src/renderer/components/side-nav/side-nav.vue @@ -38,6 +38,7 @@ tabindex="0" :title="$t('Channels.Channels')" @click="navigate('subscribedchannels')" + @keydown.enter.prevent="navigate('subscribedchannels')" >