-
-
Notifications
You must be signed in to change notification settings - Fork 363
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: update accessibility issues - lighthouse #6838 #6843
Conversation
✅ Deploy Preview for koda-canary ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Code Climate has analyzed commit 709a249 and detected 0 issues on this pull request. View more on Code Climate. |
AI-Generated Summary: This pull request includes two separate patches, each addressing different issues in the project's codebase. The first patch mainly deals with Accessibility enhancements to improve User Experience(UX). The patched files include: TheFooter.vue, CarouselAgnostic.vue, CarouselMedia.vue, and ProfileDropdown.vue. From the changes, it's clear that the author has updated certain element tags and added relevant aria-labels for better accessibility. For instance, div tags have been replaced with section tags and aria-labels have been added to navigational elements where they were missing. In addition, there have been some changes in the social media icons' SVG path in the footer. The second patch focuses on a fix to an SVG path within TheFooter.vue. A minor modification is made to the SVG path's coordinates to amend the behavior or appearance of that graphic element. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
pay 50 usd |
😍 Perfect, I’ve sent the payout 🪅 Let’s grab another issue and get rewarded! |
we might completely change landing page :) |
Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type
Context
Did your issue had any of the "$" label on it?
Solutions
[aria-*] attributes do not match their roles
Added roles that are missing to the areas which been flagged by lighthouse.
Links do not have a discernible name
Added "slide n of n" as a aria-label to carousel media links. (Researched and found to be a good way)
Heading elements are not in a sequentially-descending order
Added semantic updates "section" and "h2" to sections & headings in footer.
Lighthouse
New:
Previous:
Other
For desktop there is a low contrast issue which is preventing 100% accessibility. Might need design intervention if we want to tackle this in future.
I noticed on a few components the usage of "aria-role" attribute instead of just "role". I think this may have been a mistake and should be updated to "role"...
Suggestion
Investigate ways to manage the score whilst developing new components so that it does not continuously creep down.
Copilot Summary
🤖 Generated by Copilot at 709a249
Improved the accessibility of the carousel and the footer components by adding
aria-label
attributes,role
attributes, and semantic HTML elements. Added props to the<CarouselMedia>
component to display the current slide index and the total number of slides.🤖 Generated by Copilot at 709a249