| @@ -659,8 +659,21 @@ | ||
| 659 | 659 | margin: 0; |
| 660 | 660 | padding: 0; |
| 661 | 661 | } |
| 662 | 662 | |
| 663 | +/* Text for screen readers / a11y checkers only, so toggle labels aren't empty */ | |
| 664 | +.cookieadmin_sr_only { | |
| 665 | + position: absolute; | |
| 666 | + width: 1px; | |
| 667 | + height: 1px; | |
| 668 | + padding: 0; | |
| 669 | + margin: -1px; | |
| 670 | + overflow: hidden; | |
| 671 | + clip: rect(0, 0, 0, 0); | |
| 672 | + white-space: nowrap; | |
| 673 | + border: 0; | |
| 674 | +} | |
| 675 | + | |
| 663 | 676 | /* Keyboard accessibility: When the checkbox is focused, add a visible outline to indicate focus. */ |
| 664 | 677 | .cookieadmin_show_pref_cookies:focus-visible{ |
| 665 | 678 | outline: 1px solid #000; |
| 666 | 679 | } |