-
Notifications
You must be signed in to change notification settings - Fork 39
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
"outline: none" on form inputs prevents keyboard focus indicator #254
Comments
This is a tricky one. We're using a custom outline style (in the form of border-color) to show focus. Though, now that I think about it, I'm wondering if the change in border color is enough of a change to be considered "focused". Is this causing automated tests to fail? If we decided to make the "focus" style more noticeable, would this be okay if we kept |
Ah, yea. I should have been more specific I guess. This is really only affecting checkbox/radio type inputs. |
Ah, yes, hm. Two suggestions:
The latter would use default browser styling on radios and checkboxes, but other input types would have our custom styling. My preference (but this is ultimately up to @talbs)
Edit: We have control over the focus styles for our custom/replaced inputs, including radios and checkboxes, but not the default. So, we could alternatively write separate rules for the non-replaced versions and the replaced versions, the latter getting |
See:
ux-pattern-library/pattern-library/sass/patterns/_forms.scss
Line 226 in d88ecee
This is would cause an accessibility issue.
FYI @cptvitamin @clrux
The text was updated successfully, but these errors were encountered: