-
Notifications
You must be signed in to change notification settings - Fork 26
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
#315 Improve Lighthouse scores #322
Open
nevendyulgerov
wants to merge
16
commits into
main
Choose a base branch
from
ferature/315-improve-lighthouse-scores
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ishable without relying on color " aria error - https://dequeuniversity.com/rules/axe/4.10/link-in-text-block
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
nevendyulgerov
changed the title
#315 improve lighthouse scores
#315 Improve lighthouse scores
Jan 29, 2025
nevendyulgerov
changed the title
#315 Improve lighthouse scores
#315 Improve Lighthouse scores
Jan 29, 2025
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I made tweaks in order to improve the Lighthouse scores. Those changes are mostly focused around the accessibility score. I made several other tweaks in order to mitigate a couple of hydration errors and an edge case for the empty state of specifications. Summary:
aria-label
for theAddress
copy button.aria-label
for the applications/inputs table action buttons. Increased the size of the buttons to mitigate an accessibility issue related with minimal touch target size of those buttons.aria-label
for elements from theShell
component that required it.aria-label
for the pagination and items-per-page select.aria-label
for the specifications actions (download/upload).mantine
.wallet
providers.InitialPageLogo
component that will display the Cartesi logo during the initial load of the app. For a split second (or more time, depending on internet connection) initially the app displays an empty page. I wanted to mitigate that withInitialPageLogo
. I did this with the goal to improve the initial UI of the app:Screen.Recording.2025-01-30.at.14.26.29.mov
After the changes, the accessibility score across all pages should be around ~95%:
2 main issues related to accessibility remain:
aria-label
is missing for the wallet connect modal. There's an issue about that in their repo.The first one is not something that can be addressed on our side. The second one requires changes in the UI theme so I decided to leave those out for the time being.