Nodejs.dev: Button Text Has Bad Accessible Contrast

Created on 19 May 2020  路  11Comments  路  Source: nodejs/nodejs.dev

The site buttons are probably going to be the most important part. We should make the colors accessible as per WCAG 2.0 guidelines for contrast accessibility. with at least AA contrast.

image

Suggestions:

image

bug

All 11 comments

image

This is with background-color: var(--brand6); where as var(--brand5); looks better but still fails AA test. So, var(--brand6); it is.

I can take care of this today

This issue actually is bigger than just the color change. Because when we change the color to --brand6 the inverse becomes way too dark.

That means we need a new way to have the inverse. I don't know maybe like this

image

And then at the bottom the button is completely different in the look and feel, I am not sure how it got there. I must have missed it in the review.

image

  • We need consistent buttons
  • We need a new inverse button on dark mode.

Can someone point me to the design mockups of the site, I'd like to see how the buttons were designed there.

Thanks for sharing @giankotarola sadly buttons are inconsistent in the design prototype as well.

Another button with different styles that we may need to make consistent.

image

@ahmadawais @giankotarola i鈥檒l use the new buttons and add them to the code should have a PR by tomorrow working on it now

Assigning this to myself hope that is okay with everyone @benhalverson are we still accepting PR鈥檚 to staging for now or it has been halted till we get the file structure for the code reconfigured?

@designMoreWeb I've been working on the PR this issue was meant to be a reference to keep track of it. You can review the PR for this at #747.

@ahmadawais you may want to also take a look at https://github.com/nodejs/nodejs.dev/issues/726 about the install tabs and buttons.

@designMoreWeb

are we still accepting PR鈥檚 to staging for now or it has been halted till we get the file structure for the code reconfigured?

Master has the latest and we should build against that now.

@designMoreWeb

are we still accepting PR鈥檚 to staging for now or it has been halted till we get the file structure for the code reconfigured?

Master has the latest and we should build against that now.

Okay so are not pushing to staging any more ? Maybe we can talk about this tomorrow when we speak

Was this page helpful?
0 / 5 - 0 ratings

Related issues

talarviv picture talarviv  路  4Comments

BeniCheni picture BeniCheni  路  3Comments

marcustisater picture marcustisater  路  3Comments

antsmartian picture antsmartian  路  3Comments

ollelauribostrom picture ollelauribostrom  路  3Comments