Skip to content

Commit

Permalink
Set <h1> headings for navigation through files app
Browse files Browse the repository at this point in the history
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
  • Loading branch information
JuliaKirschenheuter authored and backportbot-nextcloud[bot] committed Mar 16, 2023
1 parent 335b871 commit 4cdd4db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/files/src/views/Navigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -191,6 +192,7 @@ export default {
}

this.Navigation.setActive(view)
setPageHeading(view.name)
emit('files:navigation:changed', view)
},

Expand Down

0 comments on commit 4cdd4db

Please sign in to comment.