front-end icon indicating copy to clipboard operation
front-end copied to clipboard

Text and Button Color in Footer fails contrast accessibility guidelines

Open Amorpheuz opened this issue 4 years ago • 3 comments

Describe the bug The color difference between the footer background #E0DAF8 and the purplePrimary Color in text and Button background #AF9BFF doesn't have enough contrast. Its less than the minimum required contrast value and isn't easy to read. A color palette change with colors having a better contrast is needed.

This is also applicable to the text color for pagination links and the color of the Logo.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://hirejuniors.dev/
  2. Open Dev Tools and enable the Element Selector. Ctrl + Shift + C
  3. Hover over link text.
  4. Make note of Contrast value under Accessibility.

Expected behavior Contrast value should be more than 4.

Screenshots image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Edge
  • Version: v87

Smartphone (please complete the following information):

  • Device: Nokia 6.1
  • OS: Android 10
  • Browser: Edge
  • Version: v45

Additional context I have a few suggestions in terms of color palette changes:

  1. The easiest change while maintaining current color palette would be to add a darker variant of the purple. I found #574D7E a suitable option. image

  2. A newer purple palette I found more vibrant w/ better compatibility with a future dark theme that would require lighter shades of purple.

    • Primary: #892CDC
    • Lighter variant: #C69FEF
    • Darker variant: #6511C6
  3. A different color from the current palette altogether, I find #FED710 (A warm yellow) and its shades, very appealing.

I can produce mockups once a direction has been decided. 😄

Amorpheuz avatar Jan 03 '21 13:01 Amorpheuz

Thanks, @Amorpheuz for opening this issue. Let me know if you want to work on this 🙂

harshil1712 avatar Jan 09 '21 19:01 harshil1712

I would love to work on this! @harshil1712 What kind of fix would you prefer of the three suggestions I provided under additional context or do you have a different fix in mind for this?

Amorpheuz avatar Jan 10 '21 09:01 Amorpheuz

Hey @Amorpheuz,

I like the dark color scheme more. Changing the color at this point doesn't make a lot of sense right now. We want to rehaul the whole UI at some point. But I don't think this is the right time to focus on those right now. So let's continue with the current color scheme.

However, if you want, please feel free to work on a new UI. You can open a new PR/Issue where we can discuss more on this. 🙂

harshil1712 avatar Jan 23 '21 18:01 harshil1712