add labels on buttons (fix #311)

This commit is contained in:
Simon Vieille
2024-01-26 23:09:55 +01:00
parent c5e126667d
commit 4448412843
3 changed files with 12 additions and 8 deletions
+6 -1
View File
@@ -15,11 +15,16 @@ You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<template>
<button class="side-menu-opener"></button>
<button class="side-menu-opener" :arial-label="label"></button>
</template>
<script>
export default {
name: 'OpenerButton',
data() {
return {
label: t('side_menu', 'Toggle menu'),
}
}
}
</script>