From e478848de1c41a46f58d0ac0d62d7b7272cf1241 Mon Sep 17 00:00:00 2001 From: Astrid Date: Thu, 13 Jul 2023 01:46:06 +0200 Subject: Add Icon Names (#328) * add Icon Name for accessibility * Fix capitalisation of YouTube label * Add changeset --------- Co-authored-by: Chris Swithinbank --- .changeset/wise-berries-juggle.md | 5 +++++ packages/starlight/components/SocialIcons.astro | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 .changeset/wise-berries-juggle.md diff --git a/.changeset/wise-berries-juggle.md b/.changeset/wise-berries-juggle.md new file mode 100644 index 00000000..d1cc26d3 --- /dev/null +++ b/.changeset/wise-berries-juggle.md @@ -0,0 +1,5 @@ +--- +"@astrojs/starlight": patch +--- + +Add missing accessible labels for Codeberg and YouTube social links diff --git a/packages/starlight/components/SocialIcons.astro b/packages/starlight/components/SocialIcons.astro index fae3ba0e..0e40922e 100644 --- a/packages/starlight/components/SocialIcons.astro +++ b/packages/starlight/components/SocialIcons.astro @@ -9,6 +9,8 @@ const labels: Record = { discord: 'Discord', twitter: 'Twitter', mastodon: 'Mastodon', + codeberg: 'Codeberg', + youtube: 'YouTube', }; const links = Object.entries(config.social || {}).filter(([, url]) => -- cgit