mirror of
https://github.com/rommapp/romm.git
synced 2026-12-03 10:33:22 +01:00
fix(a11y): stop nesting a second <main> in the jukebox browse view
The view renders inside the app layout's <main>, so its own <main> nested one main landmark in another (axe landmark-main-is-top-level and landmark-no-duplicate-main on /music). A div keeps the same layout without the duplicate landmark. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -179,7 +179,7 @@ function onDelete(fileId: number, romId: number) {
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
<main class="jukebox__main">
|
||||
<div class="jukebox__main">
|
||||
<SoundtrackPanel
|
||||
:key="selected"
|
||||
:tracks="panelTracks"
|
||||
@@ -194,7 +194,7 @@ function onDelete(fileId: number, romId: number) {
|
||||
@reached="pager.loadMoreIfNear"
|
||||
@delete-track="onDelete"
|
||||
/>
|
||||
</main>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
Reference in New Issue
Block a user