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

Accessibility issues: WDTK #1146

Merged
merged 5 commits into from
Jul 29, 2024
Merged

Accessibility issues: WDTK #1146

merged 5 commits into from
Jul 29, 2024

Conversation

lucascumsille
Copy link
Contributor

@lucascumsille lucascumsille commented Apr 21, 2022

This pull request contains some fixes for accessibility issues found in the WDTK theme.

$color_blue is now a darker, richer version that passes the contrast test:

Screenshot 2022-04-21 at 07 36 10

Screenshot 2022-04-21 at 07 35 45

Screenshot 2022-04-21 at 07 35 28

Items on subnav pass contrast test

Screenshot 2022-04-21 at 08 27 40

Secondary button a bit darker

Screenshot 2022-04-21 at 08 50 38

Increase vertical padding for list items on help page

Screenshot 2022-04-21 at 07 37 53

When creating a new request the footer notes now pass the contrast test

Screenshot 2022-04-21 at 07 40 26

Fixes part of: #1138
The rest of the issues, will be fixed on the Alaveteli core.

@mdeuk
Copy link
Collaborator

mdeuk commented Apr 21, 2022

This pull request contains some fixes for accessibility issues found in the WDTK theme.
[snip…]

Just to note, and definitely not a review - I actually really like this - it has the secondary advantage of refreshing the design in a subtle way, whilst delivering known access benefits. Lovely stuff 👍

Copy link
Member

@garethrees garethrees left a comment

Choose a reason for hiding this comment

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

🤌 I like it!

While the previous version wasn't an exact match, it was much closer to the mySociety brand colours. @zarino do you have an opinion on this?

@garethrees garethrees requested a review from zarino June 24, 2022 15:57
Copy link
Member

@zarino zarino left a comment

Choose a reason for hiding this comment

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

This looks good to me! I agree the darker colour is a bit of a shock at first, but there’s no need to keep it the same as the mySociety blue, and this darker blue makes the contrast of links and the header much better. Deffo worth it. 👍

app/assets/stylesheets/responsive/custom.scss Outdated Show resolved Hide resolved
@gbp
Copy link
Member

gbp commented Feb 2, 2023

I'm thinking we merge and deploy this when we start talking about our 20th anniversary. Am I correct in thinking there will be a banner added to WDTK for this?

@garethrees
Copy link
Member

I'm thinking we merge and deploy this when we start talking about our 20th anniversary

Sounds good.

Am I correct in thinking there will be a banner added to WDTK for this?

Looks like its on its way https://github.com/mysociety/Design-Internal-tasks/issues/8#issuecomment-1410057767

@mdeuk
Copy link
Collaborator

mdeuk commented Feb 2, 2023

Looks like its on its way https://github.com/mysociety/Design-Internal-tasks/issues/8#issuecomment-1410057767

I can't see that one, but I will link this to a couple of related tickets, so we've got them together:

@garethrees
Copy link
Member

@gbp let's get this rebased & merged (finally! 😅)

I have maintained the hue, increased the saturation a tiny bit
and decreased the brightness. So, in essence, it's a darker,
richer version of the previous one.
To improve contrast the color for the .form_item_note has been swapped
from $color_mid_grey to $color_dark_grey.
@garethrees garethrees merged commit cd4b01c into master Jul 29, 2024
2 checks passed
@garethrees garethrees deleted the 1138-accesibilty-issues branch July 29, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants