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:
argirok 2021-08-10 13:46:33 +03:00
parent 3093cf1018
commit 10dbbb5610
1 changed files with 12 additions and 0 deletions

View File

@ -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;
}