PluginProbe
Elementor Website Builder – more than just a page builder / 3.8.0-beta1
Elementor Website Builder – more than just a page builder v3.8.0-beta1
4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 All 457 releases
elementor / app / assets / styles / mixins / _screen-reader.scss

_screen-reader.scss in Elementor Website Builder – more than just a page builder 3.8.0-beta1, at app/assets/styles/mixins/_screen-reader.scss

35 lines 811 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 // Only display content to screen readers
2 //
3 // See: https://a11yproject.com/posts/how-to-hide-content/
4 // See: https://hugogiraudel.com/2016/10/13/css-hide-and-seek/
5
6 @mixin sr-only() {
7 position: absolute;
8 width: 1px;
9 height: 1px;
10 padding: 0;
11 margin: -1px; // Fix for https://github.com/twbs/bootstrap/issues/25686
12 overflow: hidden;
13 clip: rect(0, 0, 0, 0);
14 white-space: nowrap;
15 border: 0;
16 }
17
18 // Use in conjunction with .sr-only to only display content when it's focused.
19 //
20 // Useful for "Skip to main content" links; see https://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
21 //
22 // Credit: HTML5 Boilerplate
23
24 @mixin sr-only-focusable() {
25 &:active,
26 &:focus {
27 position: static;
28 width: auto;
29 height: auto;
30 overflow: visible;
31 clip: auto;
32 white-space: normal;
33 }
34 }
35