Merge pull request #42077 from nextcloud/enh/a11y/app-nav-labels

enh(a11y): Add navigation labels
pull/42053/head
Joas Schilling 2023-12-07 09:56:12 +07:00 committed by GitHub
commit c41cbcf7ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 17 additions and 15 deletions

@ -20,7 +20,8 @@
-
-->
<template>
<NcAppNavigation data-cy-files-navigation>
<NcAppNavigation data-cy-files-navigation
:aria-label="t('files', 'Files')">
<template #list>
<NcAppNavigationItem v-for="view in parentViews"
:key="view.id"

@ -24,7 +24,8 @@
<NcContent app-name="settings"
:class="{ 'with-app-sidebar': app}">
<!-- Categories & filters -->
<NcAppNavigation :class="{ 'icon-loading': loading }">
<NcAppNavigation :class="{ 'icon-loading': loading }"
:aria-label="t('settings', 'Apps')">
<template #list>
<NcAppNavigationItem id="app-category-your-apps"
:to="{ name: 'apps' }"

@ -23,7 +23,7 @@
<template>
<Fragment>
<NcContent app-name="settings">
<NcAppNavigation>
<NcAppNavigation :aria-label="t('settings', 'User management')">
<NcAppNavigationNew button-id="new-user-button"
:text="t('settings','New user')"
@click="showNewUserMenu"

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long