We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c8f579 commit 1cb47fcCopy full SHA for 1cb47fc
src/components/Banner/index.astro
@@ -5,12 +5,12 @@ const { Content } = await entry.render();
5
const { link, title } = entry.data;
6
---
7
8
-<div class="banner bg-accent-color text-accent-type-color" style={{ display: 'none' }} data-title={title}>
+<footer class="banner bg-accent-color text-accent-type-color" style={{ display: 'none' }} data-title={title} aria-label={title}>
9
<a class="banner-content" href={link} target="_blank">
10
<Content />
11
</a>
12
<button id="hideBanner" aria-label="Hide banner"><Icon kind="close" /></button>
13
-</div>
+</footer>
14
15
<script is:inline>
16
const banner = document.querySelector('.banner');
0 commit comments