-
Notifications
You must be signed in to change notification settings - Fork 8
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
Improve accessibility of focus state #340
Improve accessibility of focus state #340
Conversation
7fbf123
to
5181c29
Compare
… upload/checkbox/radio/select & update outline color generally
5181c29
to
d69d31f
Compare
…f illustration is not focusable, this change will not impact that element
…expand region to apply focus outline to the entire button (not just btn text)
display: inline-block; | ||
width: 48px; | ||
height: 48px; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adding an example of linked image
since we didn't have an example of that usage in honeycrisp.
@@ -44,6 +46,7 @@ | |||
.accordion__content { | |||
margin-top: $s35; | |||
display: block; | |||
padding: 0 $s15 $s15 $s15; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can talk through these changes if necessary
@@ -67,7 +63,7 @@ label { | |||
background-color: $color-white; | |||
border: 2px solid $color-grey-darkest; | |||
input[type='radio'] { | |||
@include outline; | |||
@include outline-with-offset; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move this up & fix indentation
a. text input
b. textarea
c. buttons
d. radio buttons
e. checkboxes
f. select
g. reveal
h. link (WITHOUT OFFSET)
a
elements (links). We need offset for linked images only. I see examples of linked images on the homepage that have theillustration
class, so I'll be adding the offset there. For illustrations that do not get focus, this css change will have no impact.