Skip to content

Commit

Permalink
Merge pull request #2151 from nextcloud/fix/add-headings
Browse files Browse the repository at this point in the history
fix(a11y): Add missing page headings
  • Loading branch information
Chartman123 authored May 8, 2024
2 parents c229b7e + f438359 commit 1cc2b6c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/views/Create.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
-->

<template>
<NcAppContent>
<NcAppContent :page-heading="form.title ? t('forms', 'Edit form') : t('forms', 'Create form')">
<!-- Show results & sidebar button -->
<TopBar :archived="isFormArchived"
:permissions="form?.permissions"
Expand Down
2 changes: 1 addition & 1 deletion src/views/Results.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
-->

<template>
<NcAppContent>
<NcAppContent :page-heading="t('forms', 'Results')">
<NcDialog :open.sync="showLinkedFileNotAvailableDialog"
:name="t('forms', 'Linked file not available')"
:message="t('forms', 'Linked file is not available, would you like to link a new file?')"
Expand Down
2 changes: 1 addition & 1 deletion src/views/Submit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
-->

<template>
<NcAppContent :class="{'app-content--public': publicView}">
<NcAppContent :class="{'app-content--public': publicView}" :page-heading="t('forms', 'Submit form')">
<TopBar v-if="!publicView"
:archived="isArchived"
:permissions="form?.permissions"
Expand Down

0 comments on commit 1cc2b6c

Please sign in to comment.