Skip to content

Commit

Permalink
Merge pull request #4889 from nextcloud-libraries/fix/nc-color-picker…
Browse files Browse the repository at this point in the history
…--correct-aria-label

fix(NcColorPicker): correct aria-label
  • Loading branch information
susnux authored Nov 30, 2023
2 parents ea6ba30 + 79e6885 commit 40a84dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/NcColorPicker/NcColorPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 }">
<Check v-if="color === currentColor" :size="20" />
<input type="radio"
class="hidden-visually"
:aria-label="name"
:name="`color-picker-${uid}`"
:checked="color === currentColor"
@click="pickColor(color)">
Expand Down

0 comments on commit 40a84dc

Please sign in to comment.