Skip to content

Commit c41cbcf

Browse files
Merge pull request #42077 from nextcloud/enh/a11y/app-nav-labels
enh(a11y): Add navigation labels
2 parents 4f8c998 + cad0f58 commit c41cbcf

11 files changed

+17
-15
lines changed

apps/files/src/views/Navigation.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
-
2121
-->
2222
<template>
23-
<NcAppNavigation data-cy-files-navigation>
23+
<NcAppNavigation data-cy-files-navigation
24+
:aria-label="t('files', 'Files')">
2425
<template #list>
2526
<NcAppNavigationItem v-for="view in parentViews"
2627
:key="view.id"

apps/settings/src/views/Apps.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
<NcContent app-name="settings"
2525
:class="{ 'with-app-sidebar': app}">
2626
<!-- Categories & filters -->
27-
<NcAppNavigation :class="{ 'icon-loading': loading }">
27+
<NcAppNavigation :class="{ 'icon-loading': loading }"
28+
:aria-label="t('settings', 'Apps')">
2829
<template #list>
2930
<NcAppNavigationItem id="app-category-your-apps"
3031
:to="{ name: 'apps' }"

apps/settings/src/views/Users.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<template>
2424
<Fragment>
2525
<NcContent app-name="settings">
26-
<NcAppNavigation>
26+
<NcAppNavigation :aria-label="t('settings', 'User management')">
2727
<NcAppNavigationNew button-id="new-user-button"
2828
:text="t('settings','New user')"
2929
@click="showNewUserMenu"

dist/files-main.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files-main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/settings-apps-view-7418.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/settings-apps-view-7418.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/settings-users-8351.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/settings-users-8351.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/settings-vue-settings-apps-users-management.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)