From 79e68856175859975dc6b7233eb8d503d37f5a6a Mon Sep 17 00:00:00 2001 From: "Grigorii K. Shartsev" Date: Wed, 29 Nov 2023 22:12:01 +0100 Subject: [PATCH] fix(NcColorPicker): correct aria-label `aria-label` should be set directly on the element being labelled. Signed-off-by: Grigorii K. Shartsev --- src/components/NcColorPicker/NcColorPicker.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/NcColorPicker/NcColorPicker.vue b/src/components/NcColorPicker/NcColorPicker.vue index ff059dc255..6b2cc7f521 100644 --- a/src/components/NcColorPicker/NcColorPicker.vue +++ b/src/components/NcColorPicker/NcColorPicker.vue @@ -172,11 +172,11 @@ export default { :key="index" :style="{ backgroundColor: color }" class="color-picker__simple-color-circle" - :class="{ 'color-picker__simple-color-circle--active' : color === currentColor }" - :aria-label="name"> + :class="{ 'color-picker__simple-color-circle--active' : color === currentColor }">