useFocusVisible
useFocusVisible
manages focus interactions on the page and determines whether a focus ring should be shown. When using the useFocusVisible
hook, if a user interacts with a mouse or by touch, then the focus indicator is not visible. When the user interacts with the keyboard however, the focus indicator will be visible.
References:
Accessibility
Partially ready
Examples
Buttons
Component quality checklist
Quality item | Status | Status description |
---|---|---|
Figma Library | Component is not currently available in Figma. | |
Responsive Web | Ready | Component is available in code for web and mobile web. |
iOS | Component is not currently available in code for iOS. | |
Android | Component is not currently available in code for Android. |