Add a11y label for sidebar button

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr
2022-08-19 11:32:53 +02:00
parent 1cfc20365e
commit d1997c0f65

View File

@@ -203,8 +203,11 @@
</ActionButton> </ActionButton>
</Actions> </Actions>
<!-- FIXME: ActionRouter currently doesn't work as an inline action --> <!-- FIXME: ActionRouter currently doesn't work as an inline action -->
<Actions :title="t('deck', 'Details')"> <Actions>
<ActionButton icon="icon-menu-sidebar" @click="toggleDetailsView" /> <ActionButton icon="icon-menu-sidebar"
:aria-label="t('deck', 'Open details')"
:title="t('deck', 'Details')"
@click="toggleDetailsView" />
</Actions> </Actions>
</div> </div>
</div> </div>