-
Notifications
You must be signed in to change notification settings - Fork 295
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
[form-core] focused-visible attr FormControls #1206
Comments
can we add this as progressive enhancement via the native |
Also had a solution for this in a branch that I will push :) |
Or did you mean no js solution at all @daKmoR... just a recommendation in the docs? In that case, I would say we need this in the FocusMixin, because we need to be able to style the host when the focusable element has |
Expected behavior
I can style focused state for active elements enabled by keyboard (tab) interaction, like: https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible, via a
[focused-visible]
attributeActual Behavior
I can only style the
[focused]
state, which also shows a focus ring on click of an elementAdditional context
Should be solved in FocusMixin via prop:
possible implementations
The text was updated successfully, but these errors were encountered: