Add aria labels to notification buttons

This commit is contained in:
Essem 2023-06-08 10:27:44 -05:00
parent 5567dbb3c3
commit a41f537970
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C

View file

@ -12,10 +12,15 @@
<template #func <template #func
><button ><button
class="_button" class="_button"
:aria-label="i18n.ts.markAllAsRead"
@click="os.apiWithDialog('notifications/mark-all-as-read')" @click="os.apiWithDialog('notifications/mark-all-as-read')"
> >
<i class="ph-check ph-bold ph-lg"></i></button <i class="ph-check ph-bold ph-lg"></i></button
><button class="_button" @click="configureNotification()"> ><button
class="_button"
:aria-label="i18n.ts.notificationSetting"
@click="configureNotification()"
>
<i class="ph-gear-six ph-bold ph-lg"></i></button <i class="ph-gear-six ph-bold ph-lg"></i></button
></template> ></template>
<div> <div>