Skip to content

Commit 1cb47fc

Browse files
committed
feat: wrap banner in it's own footer landmark
1 parent 4c8f579 commit 1cb47fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Banner/index.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ const { Content } = await entry.render();
55
const { link, title } = entry.data;
66
---
77

8-
<div class="banner bg-accent-color text-accent-type-color" style={{ display: 'none' }} data-title={title}>
8+
<footer class="banner bg-accent-color text-accent-type-color" style={{ display: 'none' }} data-title={title} aria-label={title}>
99
<a class="banner-content" href={link} target="_blank">
1010
<Content />
1111
</a>
1212
<button id="hideBanner" aria-label="Hide banner"><Icon kind="close" /></button>
13-
</div>
13+
</footer>
1414

1515
<script is:inline>
1616
const banner = document.querySelector('.banner');

0 commit comments

Comments
 (0)