From 46f451b6cd7a8fc6de6aca018b9c0b7d2c8913c7 Mon Sep 17 00:00:00 2001 From: Kazuki Imamura Date: Thu, 17 Jun 2021 15:29:50 +0900 Subject: [PATCH 01/52] typo --- components/_shared/SideNavigation.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/_shared/SideNavigation.vue b/components/_shared/SideNavigation.vue index d705a1fb36c93..f4669e3470627 100644 --- a/components/_shared/SideNavigation.vue +++ b/components/_shared/SideNavigation.vue @@ -316,10 +316,10 @@ export default Vue.extend({ }, }, watch: { - $route: 'handleChageRoute', + $route: 'handleChangeRoute', }, methods: { - handleChageRoute() { + handleChangeRoute() { // nuxt-link で遷移するとフォーカスが残り続けるので $route を監視して SideNavigation にフォーカスする return this.$nextTick().then(() => { const $Side = this.$refs.Side as HTMLEmbedElement | undefined From e8ed913925bfd8763ada723f5fbc79be5fd57a38 Mon Sep 17 00:00:00 2001 From: Kazuki Imamura Date: Thu, 17 Jun 2021 22:09:44 +0900 Subject: [PATCH 02/52] =?UTF-8?q?main=E8=A6=81=E7=B4=A0=E3=81=ABinert?= =?UTF-8?q?=E5=B1=9E=E6=80=A7=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/default.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/layouts/default.vue b/layouts/default.vue index ca012b7ca580b..e564c489cfd43 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -15,7 +15,11 @@ @close-navigation="closeNavigation" /> -
+
From 3ac4be22b9ed50ea7dec981c5e4a6e8387343158 Mon Sep 17 00:00:00 2001 From: Kazuki Imamura Date: Thu, 17 Jun 2021 22:13:24 +0900 Subject: [PATCH 03/52] =?UTF-8?q?SideNavigation=E3=81=AEdiv=E3=81=ABrole?= =?UTF-8?q?=3Ddialog=20aria-modal=3Dtrue=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/_shared/SideNavigation.vue | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/components/_shared/SideNavigation.vue b/components/_shared/SideNavigation.vue index f4669e3470627..90a0979df7693 100644 --- a/components/_shared/SideNavigation.vue +++ b/components/_shared/SideNavigation.vue @@ -317,6 +317,18 @@ export default Vue.extend({ }, watch: { $route: 'handleChangeRoute', + '$vuetify.breakpoint.xsOnly'(value) { + const $Side = this.$refs.Side as HTMLEmbedElement | undefined + if ($Side) { + if (value) { + $Side.setAttribute('role', 'dialog') + $Side.setAttribute('aria-modal', 'true') + } else { + $Side.removeAttribute('role') + $Side.removeAttribute('aria-modal') + } + } + }, }, methods: { handleChangeRoute() { From c2cab7f40ee2e54937f2221f1f39914c656f12a8 Mon Sep 17 00:00:00 2001 From: Kazuki Imamura Date: Thu, 17 Jun 2021 22:15:11 +0900 Subject: [PATCH 04/52] =?UTF-8?q?=E3=82=B5=E3=82=A4=E3=83=89=E3=83=8A?= =?UTF-8?q?=E3=83=93=E3=82=92=E9=96=8B=E9=96=89=E3=81=97=E3=81=9F=E3=81=A8?= =?UTF-8?q?=E3=81=8D=E3=81=AEfocus=E3=82=92=E5=88=B6=E5=BE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/_shared/SideNavigation.vue | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/components/_shared/SideNavigation.vue b/components/_shared/SideNavigation.vue index 90a0979df7693..f0bf8e528e0df 100644 --- a/components/_shared/SideNavigation.vue +++ b/components/_shared/SideNavigation.vue @@ -2,6 +2,7 @@
- +