Skip to content

Commit 782ac69

Browse files
committed
Accessibility: Differentiate external footer links with icon and tooltip
1 parent a0938d7 commit 782ac69

File tree

1 file changed

+29
-6
lines changed

1 file changed

+29
-6
lines changed

src/components/Footer/index.astro

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,35 @@ const bannerEntry = await getEntry("banner", currentLocale);
5050
<div class="lg:col-start-2 mt-xl lg:mt-0">
5151
<div class="mb-5" id="socials-footer-category">{t("Socials")}</div>
5252
<ul aria-labelledby="socials-footer-category">
53-
<li><a href="https://github.com/processing/p5.js">GitHub</a></li>
54-
<li><a href="https://www.instagram.com/p5xjs/">Instagram</a></li>
55-
<li><a href="https://twitter.com/p5xjs">X</a></li>
56-
<li><a href="https://www.youtube.com/@ProcessingFoundation">YouTube</a></li>
57-
<li><a href="https://discord.gg/SHQ8dH25r9">Discord</a></li>
5853
<li>
59-
<a href="https://discourse.processing.org/c/p5js">{t("Forum")}</a>
54+
<a href="https://github.com/processing/p5.js" target="_blank" rel="noopener noreferrer" title="Opens in new tab">
55+
GitHub ↗
56+
</a>
57+
</li>
58+
<li>
59+
<a href="https://www.instagram.com/p5xjs/" target="_blank" rel="noopener noreferrer" title="Opens in new tab">
60+
Instagram ↗
61+
</a>
62+
</li>
63+
<li>
64+
<a href="https://twitter.com/p5xjs" target="_blank" rel="noopener noreferrer" title="Opens in new tab">
65+
X ↗
66+
</a>
67+
</li>
68+
<li>
69+
<a href="https://www.youtube.com/@ProcessingFoundation" target="_blank" rel="noopener noreferrer" title="Opens in new tab">
70+
YouTube ↗
71+
</a>
72+
</li>
73+
<li>
74+
<a href="https://discord.gg/SHQ8dH25r9" target="_blank" rel="noopener noreferrer" title="Opens in new tab">
75+
Discord ↗
76+
</a>
77+
</li>
78+
<li>
79+
<a href="https://discourse.processing.org/c/p5js" target="_blank" rel="noopener noreferrer" title="Opens in new tab">
80+
{t("Forum")}
81+
</a>
6082
</li>
6183
</ul>
6284
</div>
@@ -65,3 +87,4 @@ const bannerEntry = await getEntry("banner", currentLocale);
6587
{bannerEntry && !bannerEntry.data.hidden && (<Banner entry={bannerEntry} />)}
6688

6789
<style></style>
90+

0 commit comments

Comments
 (0)