Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: convert nav social links to individual list items to improve accessibility #1293

Conversation

Insider32
Copy link
Contributor

Hey everyone, I like your community's initiative and wanted to make a small contribution on improving the website. Please let me know if the original implementation was intended for some reason or if you see some problem with my changes. Thanks!

Description

This PR addresses an issue where the navbar's second list (the one with the social links - github, X, youtube ) is announced with 1 link item by screen readers due to the fact that all links are into a single li element.

To fix this issue, each link has been added to an individual list item and CSS classes have been adjusted (moved to ul element) to maintain the original visuals. As a result, screen readers will now announce the list with 3 items.

Methodology

Changes are suggested to improve accessibility.

Code of Conduct

By submitting this pull request, you agree to follow our Code of Conduct

@Insider32 Insider32 requested a review from a team as a code owner November 18, 2024 15:30
Copy link

netlify bot commented Nov 18, 2024

👷 Deploy Preview for virtual-coffee-io processing.

Name Link
🔨 Latest commit d13e056
🔍 Latest deploy log https://app.netlify.com/sites/virtual-coffee-io/deploys/675a298acd4a360008680c93

@eternalmaha
Copy link
Contributor

This is such a great catch!!!

Copy link
Contributor

@meg-gutshall meg-gutshall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@meg-gutshall
Copy link
Contributor

Thank you, @Insider32 ! That's a great catch!

@meg-gutshall meg-gutshall merged commit ceedae5 into Virtual-Coffee:main Dec 12, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants