Travis build: 531
This commit is contained in:
@ -1261,7 +1261,7 @@ Sets an automatically inherited margin for all elements that follow other elemen
|
||||
A bulletproof way to completely hide an element visually and positionally in the DOM while still allowing it to be accessed by JavaScript and readable by screen readers. This method is very useful for accessibility ([ADA](https://adata.org/learn-about-ada)) development when more context is needed for visually-impaired users. As an alternative to `display: none` which is not readable by screen readers or `visibility: hidden` which takes up physical space in the DOM.
|
||||
|
||||
```html
|
||||
<a class="button" href="http://pantswebsite.com">
|
||||
<a class="button" href="https://google.com">
|
||||
Learn More <span class="offscreen"> about pants</span>
|
||||
</a>
|
||||
```
|
||||
|
||||
@ -539,7 +539,7 @@
|
||||
]
|
||||
},
|
||||
"meta": {
|
||||
"hash": "08134db9917770420e2e7b479304250d9f0b8b4b285db1c28ee3a79e150b3f47"
|
||||
"hash": "a718446c91f49c73e68bc4f317911ff03f898ac8efe0e832ca1f803709107820"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@ -984,7 +984,7 @@
|
||||
"supportPercentage": 100
|
||||
},
|
||||
"codeBlocks": {
|
||||
"html": "<a class=\"button\" href=\"http://pantswebsite.com\">\n Learn More <span class=\"offscreen\"> about pants</span>\n</a>",
|
||||
"html": "<a class=\"button\" href=\"https://google.com\">\n Learn More <span class=\"offscreen\"> about pants</span>\n</a>",
|
||||
"css": ".offscreen {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}",
|
||||
"js": "",
|
||||
"scopedCss": "[data-scope=\"offscreen\"] .offscreen {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px; }\n"
|
||||
@ -995,7 +995,7 @@
|
||||
]
|
||||
},
|
||||
"meta": {
|
||||
"hash": "08134db9917770420e2e7b479304250d9f0b8b4b285db1c28ee3a79e150b3f47"
|
||||
"hash": "a718446c91f49c73e68bc4f317911ff03f898ac8efe0e832ca1f803709107820"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user