CSS :focus-visible pseudo selector

The :focus-visible pseudo-class is a native CSS way to style elements that,

1. Are in focus

2. Need a visible indicator to show focus

:focus-visible is used similarly to :focus: to bring attention to the element that currently has the focus.
:focus-visible only applies when you actually want a visual indicator to help the user see where the focus is.

I like to hear from you about this !!

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.