SEO - accessibility: In images add alt, add specific width and height, in links add <span class="visually-hidden"></span> with descriptive text - not visible (add class in library.css)
This commit is contained in:
parent
3093cf1018
commit
10dbbb5610
12
library.css
12
library.css
|
@ -1126,3 +1126,15 @@ a.filterLabel {
|
|||
}
|
||||
*/
|
||||
|
||||
.visually-hidden{
|
||||
border: 0 !important;
|
||||
clip: rect(1px, 1px, 1px, 1px) !important;
|
||||
-webkit-clip-path: inset(50%) !important;
|
||||
clip-path: inset(50%) !important;
|
||||
height: 1px !important;
|
||||
overflow: hidden !important;
|
||||
padding: 0 !important;
|
||||
position: absolute !important;
|
||||
width: 1px !important;
|
||||
white-space: nowrap !important;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue