Remove focus-visible polyfill (#11677)

* Remove focus-visible polyfill

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update snapshots

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2023-09-28 12:52:26 +01:00 committed by GitHub
parent 8e4de798a5
commit e0f4b26512
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 15 additions and 29 deletions

View file

@ -230,7 +230,7 @@ textarea:focus {
/* accessible (focusable) components. Not intended for buttons, but */
/* should be used on things like focusable containers where the outline */
/* is usually not helping anyone. */
*:focus:not(.focus-visible) {
*:focus:not(:focus-visible) {
outline: none;
}
@ -585,7 +585,7 @@ legend {
cursor: pointer;
display: inline-block;
&:not(.focus-visible) {
&:not(:focus-visible) {
outline: none;
}
}