Standardize focus state on interactive components #111
Labels
accessibility
co-options
options for co-op students
hacktoberfest
help wanted
Extra attention is needed
Currently, our components visually have different focus states. We want to standardize it so anything that can be focused on on the page (accessible by
tab
on keyboard) is highlighted in the same manner. This will improve accessibility and also make the focus state visually consistent across browsers.Implementation details:
:focus
state that follows theforms/input/large/focus
's style as laid out in https://zpl.io/adzPEOR, that can be reused, separate from any component.FocusWrapper
component that is implemented as a<button/>
with the following characteristics::focus
stateFocusWrapper
component (needs to update previously implemented components, includingButton
):focus
state.Design: see bottom of: https://zpl.io/2pvln6N
Size of box depends on the element (similar to the chrome default focus state)
The text was updated successfully, but these errors were encountered: