Skip to content

Commit bda9150

Browse files
committed
fix(apps): Add back <main> element to dashboard and settings
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent df56b47 commit bda9150

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

apps/dashboard/src/DashboardApp.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
- SPDX-License-Identifier: AGPL-3.0-or-later
44
-->
55
<template>
6-
<div id="app-dashboard">
6+
<main id="app-dashboard">
77
<h2>{{ greeting.text }}</h2>
88
<ul class="statuses">
99
<li v-for="status in sortedRegisteredStatus"
@@ -127,7 +127,7 @@
127127
</div>
128128
</div>
129129
</NcModal>
130-
</div>
130+
</main>
131131
</template>
132132

133133
<script>

apps/settings/templates/settings/frame.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@
6666
</ul>
6767
</nav>
6868
</div>
69-
<div id="app-content" <?php if (!empty($_['activeSectionId'])) { ?> data-active-section-id="<?php print_unescaped($_['activeSectionId']) ?>" <?php } if (!empty($_['activeSectionType'])) { ?> data-active-section-type="<?php print_unescaped($_['activeSectionType']) ?>" <?php } ?>>
69+
<main id="app-content" <?php if (!empty($_['activeSectionId'])) { ?> data-active-section-id="<?php print_unescaped($_['activeSectionId']) ?>" <?php } if (!empty($_['activeSectionType'])) { ?> data-active-section-type="<?php print_unescaped($_['activeSectionType']) ?>" <?php } ?>>
7070
<?php print_unescaped($_['content']); ?>
71-
</div>
71+
</main>

0 commit comments

Comments
 (0)