@functionalcms/svelte-components 2.41.5 → 2.41.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -309,7 +309,7 @@ export let size = ComponentSize.Normal;
|
|
|
309
309
|
export let justify = Justify.Center;
|
|
310
310
|
export let alignItems = AlignItmes.Center;
|
|
311
311
|
export let orientation = Orientation.Row;
|
|
312
|
-
export let role = "";
|
|
312
|
+
export let role = "link";
|
|
313
313
|
$: isSmall = size === ComponentSize.Small;
|
|
314
314
|
$: isLarge = size === ComponentSize.Large;
|
|
315
315
|
$: klasses = mergedClasses(
|
|
@@ -23,7 +23,7 @@ $: headerCss = headerIsSticky ? "sticky" : "";
|
|
|
23
23
|
<meta name="robots" content={robots} />
|
|
24
24
|
<meta name="description" content={$metaDescription} />
|
|
25
25
|
<meta name="keywords" content={$metaKeywords} />
|
|
26
|
-
<meta name="
|
|
26
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
27
27
|
</svelte:head>
|
|
28
28
|
<div id="defaultLayout">
|
|
29
29
|
{#if $$slots.header}
|
|
@@ -20,7 +20,7 @@ const linkCss = mergedClasses(cssClasses.link);
|
|
|
20
20
|
role="none"
|
|
21
21
|
>
|
|
22
22
|
<span class="screenreader-only">Navigate to {pageItem.name}</span>
|
|
23
|
-
<a href={pageItem.path} role="menuitem" tabindex=
|
|
23
|
+
<a href={pageItem.path} role="menuitem" tabindex="0">
|
|
24
24
|
{pageItem.name}
|
|
25
25
|
</a>
|
|
26
26
|
{#if pageItem.subItems?.length > 0}
|