Join GitHub today
The functionality of what-input.min.js #7983
All of our components add outlines to focus/active states to make them accessible to keyboard users. However, designers find those outlines ugly, but they're necessary for accessibility.
what-input watches for what input device the user is using, mouse or keyboard. If it's a mouse, the outlines are removed in the CSS. If it's a keyboard, the outlines are kept as a navigational aid.
It's technically an optional dependency—you can remove it if you want. However, we highly recommend keeping it.