Merge pull request '[PR]: Add aria labels to notification settings/mark as read buttons' (#10392) from esm/calckey:fix/notif-button-a11y into develop

Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10392
This commit is contained in:
Kainoa Kanter 2023-07-02 17:08:37 +00:00
commit 387b3b1e96

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>