add accessibility to open and close buttons (#311)

refactor the way to focus apps when the menu is opened (#301)
This commit is contained in:
Simon Vieille
2024-02-14 12:12:08 +01:00
parent b8aa312a14
commit 951dd742d8
6 changed files with 38 additions and 29 deletions
+4 -2
View File
@@ -15,7 +15,9 @@ 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" :arial-label="label"></button>
<button class="side-menu-opener" :arial-label="label">
<span v-text="label"></span>
</button>
</template>
<script>
@@ -23,7 +25,7 @@ export default {
name: 'OpenerButton',
data() {
return {
label: t('side_menu', 'Toggle menu'),
label: t('side_menu', 'Toggle the menu'),
}
}
}