From bea47b5906d1bc665717830d6dc2f3ff2a0374f3 Mon Sep 17 00:00:00 2001 From: Kevin Marrec Date: Fri, 3 Feb 2023 16:01:43 +0100 Subject: [PATCH] fix(CommandPalette): improve accessibility (#129) --- src/runtime/components/navigation/CommandPalette.vue | 11 +++++++++-- .../components/navigation/CommandPaletteGroup.vue | 12 ++++++------ 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/src/runtime/components/navigation/CommandPalette.vue b/src/runtime/components/navigation/CommandPalette.vue index 2e07a37f..de658dfb 100644 --- a/src/runtime/components/navigation/CommandPalette.vue +++ b/src/runtime/components/navigation/CommandPalette.vue @@ -25,12 +25,19 @@ :class="$ui.commandPalette.input.close.base" :size="$ui.commandPalette.input.close.size" :variant="$ui.commandPalette.input.close.variant" - aria-label="close" + aria-label="Close" @click="onClear" /> - +