@@ -39,7 +39,9 @@
}}
aria-label={$i18n.t('Close')}
>
- <XMark />
+ <XMark>
+ <p class="sr-only">{$i18n.t('Close')}</p>
+ </XMark>
</button>
</div>
<div class="flex items-center mt-1">
@@ -11,6 +11,7 @@
stroke-width={strokeWidth}
class={className}
+ <slot />
<path
d="M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"
/>