Merge pull request #37174 from nextcloud/fix/36911-create-h1-heading-for-files

Set `<h1>` headings for navigation through files app
pull/37276/head
Julia Kirschenheuter 2023-03-16 14:19:33 +07:00 committed by GitHub
commit 961a1c80ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

@ -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)
},

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long