diff options
author | Astrid | 2023-07-13 01:46:06 +0200 |
---|---|---|
committer | GitHub | 2023-07-13 01:46:06 +0200 |
commit | e478848de1c41a46f58d0ac0d62d7b7272cf1241 (patch) | |
tree | c87403e907442dc0568d7622712f9e977685cc82 | |
parent | d48a6f7c5db2a47e3545bb9cd3d88a69d0314363 (diff) | |
download | IT.starlight-e478848de1c41a46f58d0ac0d62d7b7272cf1241.tar.gz IT.starlight-e478848de1c41a46f58d0ac0d62d7b7272cf1241.tar.bz2 IT.starlight-e478848de1c41a46f58d0ac0d62d7b7272cf1241.zip |
Add Icon Names (#328)
* add Icon Name for accessibility
* Fix capitalisation of YouTube label
* Add changeset
---------
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
-rw-r--r-- | .changeset/wise-berries-juggle.md | 5 | ||||
-rw-r--r-- | packages/starlight/components/SocialIcons.astro | 2 |
2 files changed, 7 insertions, 0 deletions
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<Platform, string> = { discord: 'Discord', twitter: 'Twitter', mastodon: 'Mastodon', + codeberg: 'Codeberg', + youtube: 'YouTube', }; const links = Object.entries(config.social || {}).filter(([, url]) => |