Skip to content

Conversation

@micahgodbolt
Copy link
Contributor

@micahgodbolt micahgodbolt commented Jan 21, 2021

Issue: #13373

box shadows are not an accessible way to add focus to a button because shadows are dropped by high contrast mode. Using a pseudo element with border avoids the issue of borders messing with box sizing.

image

@shilman
Copy link
Member

shilman commented Jan 22, 2021

Thanks @micahgodbolt! @tooppaaa @domyen @jsomsanith can I get a review?

@shilman
Copy link
Member

shilman commented Feb 22, 2021

Hi @adagar any chance I can get a review for this?

@adagar
Copy link
Contributor

adagar commented Feb 22, 2021

@shilman sure, I can take a look at this sometime today!

Copy link
Member

@domyen domyen left a comment

Choose a reason for hiding this comment

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

Thanks @micahgodbolt! Looks good, suggestions below.

@adagar
Copy link
Contributor

adagar commented Feb 22, 2021

Had an error preventing builds from working locally, but not sure if I'm doing something wrong. Additionally: How do you activate the high-contrast setting you show in the screenshot above? Is it the windows built-in approach?

Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks @micahgodbolt @adagar @domyen !!!

This was referenced Mar 12, 2021
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.

4 participants