Skip to content

Commit 94a43e0

Browse files
Fix scrolltobottom button aria label
Signed-off-by: Marco Ambrosini <[email protected]>
1 parent 6ee8d06 commit 94a43e0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/components/MessagesList/MessagesList.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ get the messagesList array and loop through the list to generate the messages.
5353
</template>
5454
<transition name="fade">
5555
<button v-show="!isScrolledToBottom"
56+
:aria-label="scrollTobottomAriaLabel"
5657
class="scroll-to-bottom"
5758
@click="scrollToBottom">
5859
<ChevronDown decorative
@@ -211,6 +212,10 @@ export default {
211212
chatIdentifier() {
212213
return this.token + ':' + this.isParticipant + ':' + this.isInLobby
213214
},
215+
216+
scrollToBottomAriaLabel() {
217+
return t('spreed', 'Scroll to bottom')
218+
},
214219
},
215220
216221
watch: {

0 commit comments

Comments
 (0)