From f85fc03e1a2f91a0d0529c8dd1ad290204f181ab Mon Sep 17 00:00:00 2001 From: Daniel Mungai Date: Sat, 18 Apr 2026 00:03:29 +0300 Subject: [PATCH] fix(seo): improve SEO and accessibility - Resolve crawlable links in templates - Add aria-labels to navbar icons and dropdowns - Update Twitter branding to X in footer - Fix Lighthouse SEO audit issues Signed-off-by: Daniel Mungai --- hugo.toml | 22 +++++++++++----------- layouts/partials/footer.html | 4 ++-- layouts/partials/navbar.html | 17 +++++++++++++---- 3 files changed, 26 insertions(+), 17 deletions(-) diff --git a/hugo.toml b/hugo.toml index ca45b55961..16b02fff11 100644 --- a/hugo.toml +++ b/hugo.toml @@ -190,57 +190,57 @@ enable = false url = "https://layer5.io/subscribe" icon = "icons/envelope.svg" desc = "Discussion and help from your fellow users" - alt = "Envelope Icon" + alt = "Subscribe to the Layer5 newsletter" [[params.links.footer.icons]] - name = "Twitter" + name = "X" url = "https://twitter.com/layer5" icon = "icons/twitter.svg" - desc = "Follow us on Twitter to get the latest news!" + desc = "Follow us on X to get the latest news!" class= "social-icon" - alt = "Twitter Icon" + alt = "Follow Layer5 on X" [[params.links.footer.icons]] name = "Discussion Forum" url = "https://discuss.layer5.io" icon = "icons/discuss.svg" desc = "Practical questions and curated answers" - alt = "Discussion Forum Icon" + alt = "Join the Layer5 discussion forum" [[params.links.footer.icons]] name = "GitHub" url = "https://github.com/layer5io" icon = "icons/github.svg" desc = "Development takes place here" class= "social-icon" - alt = "GitHub Icon" + alt = "Visit Layer5 on GitHub" [[params.links.footer.icons]] name = "Slack" url = "https://slack.layer5.io" icon = "icons/slack.svg" desc = "Chat with other project developers" - alt = "Slack Icon" + alt = "Join the Layer5 Slack community" [[params.links.footer.icons]] name = "LinkedIn" url = "https://www.linkedin.com/company/layer5" icon = "icons/linkedin.svg" desc = "Discuss development issues around the project" - alt = "LinkedIn Icon" + alt = "Follow Layer5 on LinkedIn" [[params.links.footer.icons]] name = "YouTube" url = "https://www.youtube.com/channel/UCFL1af7_wdnhHXL1InzaMvA?sub_confirmation=1" icon = "icons/youtube.svg" desc = "Discuss development issues around the project" - alt = "YouTube Icon" + alt = "Watch Layer5 on YouTube" [[params.links.footer.icons]] name = "Bluesky" url = "https://bsky.app/profile/layer5.bsky.social" icon = "icons/bluesky.svg" desc = "Follow us on Bluesky for updates" - alt = "Bluesky Icon" + alt = "Follow Layer5 on Bluesky" [[params.links.footer.icons]] name = "Docker" url = "https://hub.docker.com/u/layer5/" icon = "icons/docker.svg" desc = "Discuss development issues around the project" - alt = "Docker Icon" + alt = "Explore Layer5 images on Docker Hub" [[params.links.footer.resources.items]] name = "Learning Paths" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 83758cccb9..f684601e8e 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -4,14 +4,14 @@