Skip to content

Commit 0ed2844

Browse files
authored
Merge pull request #5986 from LibreSign/backport/5985/stable31
[stable31] fix: add aria-label to zoom buttons in SignatureStamp
2 parents 7b58fca + 93b7071 commit 0ed2844

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/views/Settings/SignatureStamp.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,12 +214,14 @@
214214
type="file"
215215
@change="onChangeBackground">
216216
<div v-if="displayPreview" class="settings-section__zoom">
217-
<NcButton @click="changeZoomLevel(-10)">
217+
<NcButton :aria-label="t('libresign', 'Decrease zoom level')"
218+
@click="changeZoomLevel(-10)">
218219
<template #icon>
219220
<MagnifyMinusOutline :size="20" />
220221
</template>
221222
</NcButton>
222-
<NcButton @click="changeZoomLevel(+10)">
223+
<NcButton :aria-label="t('libresign', 'Increase zoom level')"
224+
@click="changeZoomLevel(+10)">
223225
<template #icon>
224226
<MagnifyPlusOutline :size="20" />
225227
</template>

0 commit comments

Comments
 (0)