From 7e8add8a1d92d5171b3268bfda8ddd80f836a35d Mon Sep 17 00:00:00 2001 From: Chris Simmons Date: Fri, 7 Jun 2024 14:32:43 -0500 Subject: [PATCH] Resolve A11y errors for AppRailAnchor (#2716) --- .changeset/unlucky-keys-brake.md | 5 +++++ .../lib/components/AppRail/AppRailAnchor.svelte | 16 +--------------- 2 files changed, 6 insertions(+), 15 deletions(-) create mode 100644 .changeset/unlucky-keys-brake.md diff --git a/.changeset/unlucky-keys-brake.md b/.changeset/unlucky-keys-brake.md new file mode 100644 index 000000000..7b6b1c347 --- /dev/null +++ b/.changeset/unlucky-keys-brake.md @@ -0,0 +1,5 @@ +--- +"@skeletonlabs/skeleton": patch +--- + +bugfix: Removed invalid role and forward events on AppRailAnchor component diff --git a/packages/skeleton/src/lib/components/AppRail/AppRailAnchor.svelte b/packages/skeleton/src/lib/components/AppRail/AppRailAnchor.svelte index 76be76b22..4bf4520a5 100644 --- a/packages/skeleton/src/lib/components/AppRail/AppRailAnchor.svelte +++ b/packages/skeleton/src/lib/components/AppRail/AppRailAnchor.svelte @@ -45,21 +45,7 @@ } - +
{#if $$slots.lead}
{/if}