Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Add Form Control Focus Indication #55

Open
ghost opened this issue May 9, 2017 · 1 comment
Open

Add Form Control Focus Indication #55

ghost opened this issue May 9, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented May 9, 2017

Currently form-control components have their outline suppressed but do not provide an alternative style using the :focus pseudo-selector, the result of which is a usability issue.

Without outline or :focus, it's not possible to tell where the cursor is while navigating form elements using switch-based peripherals such as tab, or when shifting contextual frames of reference such as navigating through browser history.

Here's what a focused button looks like using a standard outline:

screen shot 2017-05-09 at 6 44 24 pm

And here's what that same button looks like with focus in [email protected]:

screen shot 2017-05-09 at 6 52 31 pm

This usability issue is exacerbated when using button groups and/or groups of form controls. It is not currently a problem for a elements, which maintain their focus when navigating using a

@ghost
Copy link
Author

ghost commented May 9, 2017

Proposal is to add :focus with a slight change in alpha transparency, the value of which may be driven by the amount of WCAG 2.0 compliance desired by the library.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants