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.
2 parents fe6cdb9 + 24ddb1b commit eccc6cfCopy full SHA for eccc6cf
src/components/Callout/index.astro
@@ -14,7 +14,12 @@ const currentLocale = getCurrentLocale(Astro.url.pathname);
14
const t = await getUiTranslator(currentLocale);
15
---
16
17
-<div class={`callout ${props.title ? 'callout-note' : ''}`}>
18
- <h5>{t('calloutTitles', props.title || "Try this!")}</h5>
+<section
+ class={`callout ${props.title ? 'callout-note' : ''}`}
19
+ role="region"
20
+ aria-label={String(t('calloutTitles', props.title || "Try this!"))}>
21
+ <div class="callout-heading" style="font-weight: bold;">
22
+ {t('calloutTitles', props.title || "Try this!")}
23
+ </div>
24
<slot />
-</div>
25
+</section>
0 commit comments