Skip to content

Accessbility tweaks and fixes for docs/www#1507

Merged
marvinhagemeister merged 7 commits into
freshframework:mainfrom
timharek:main
Jul 22, 2023
Merged

Accessbility tweaks and fixes for docs/www#1507
marvinhagemeister merged 7 commits into
freshframework:mainfrom
timharek:main

Conversation

@timharek

Copy link
Copy Markdown
Contributor

First let me say thank you so much for Deno Fresh – it's a trill to use and learn!

With this PR I want to give back with some of my knowledge.

This PR focuses on accessibilty fixes that makes a screen reader read redundant stuff which can make it harder to understand what is being read.

To summarize:

  • Added aria-hidden="true" to a bunch of decorative icons.
  • Some text had too low contrast.
  • Replaced the container for <LemonDrop /> to be a <div> instead of <section>, as a section should have a heading and this element is purely a decorative feature (from w3c).

If there are any questions, suggestions or anything, please let me know :)

timharek added 7 commits July 22, 2023 16:17
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
section-tags should have a heading

Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>

@marvinhagemeister marvinhagemeister left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is fantastic! Thank you so much for the PR 💯

@marvinhagemeister marvinhagemeister merged commit 9cae8fd into freshframework:main Jul 22, 2023
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.

2 participants