Improve Lighthouse SEO and A11y Rating #66
Merged
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.
This PR improves the SEO and accessibility score in the Lighthouse rating for the index page.
It mostly just adds
alt
tags to the images used on the index page but also anaria-label
and texts only for screen readers.The accessibility is not on 100% because your brand color/
#f6005c
doesn‘t have enough contrast with the white background:Relates to #49. The performance on
www.stormkit.io
seems to be worse than in my test env, possibly because of tawk and GTM, or my older MacBook Air. 🤷Screenshots
Both tests were done in the dev environment, however, the performance increased to 98 when pre-building resources and serving via `yarn start. Also, the other scores did not change.
LH report with pre-built resources