summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>2023-03-10 17:43:44 +0100
committerjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>2023-03-16 11:51:43 +0100
commit058f7f426c843ed13ee06499eaa0c53eb7cd7f91 (patch)
tree6791ffadf38b2e39159ca7ba1ecb7ecd2cbe1f4f /apps
parent15b80b6c1ab1d9fc122c4c04dd48c49c1a5d5219 (diff)
downloadnextcloud-server-058f7f426c843ed13ee06499eaa0c53eb7cd7f91.tar.gz
nextcloud-server-058f7f426c843ed13ee06499eaa0c53eb7cd7f91.zip
Set `<h1>` headings for navigation through files app
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/files/src/views/Navigation.vue2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files/src/views/Navigation.vue b/apps/files/src/views/Navigation.vue
index 040e1482e32..d9fdfa7fe02 100644
--- a/apps/files/src/views/Navigation.vue
+++ b/apps/files/src/views/Navigation.vue
@@ -79,6 +79,7 @@ import logger from '../logger.js'
import Navigation from '../services/Navigation.ts'
import NavigationQuota from '../components/NavigationQuota.vue'
import SettingsModal from './Settings.vue'
+import { setPageHeading } from '../../../../core/src/OCP/accessibility.js'
export default {
name: 'Navigation',
@@ -191,6 +192,7 @@ export default {
}
this.Navigation.setActive(view)
+ setPageHeading(view.name)
emit('files:navigation:changed', view)
},