(search) Add stylesheet class for screenreader-only items

This commit is contained in:
Viktor Lofgren 2024-05-01 16:22:38 +02:00
parent 2840d9d403
commit 01f242ac7e

View File

@ -705,4 +705,12 @@ footer {
// The search results page is very confusing on text-based browsers, so we add a hr to separate the search results. This is
// hidden on modern browsers via CSS.
hr.w3m-helper { display: none; }
hr.w3m-helper { display: none; }
.screenreader-only {
position:absolute;
left:-10000px;
top:auto;
width:1px;
height:1px;
overflow:hidden;
}