JBAS-1817 Hide BC screen reader links via local CSS
authorBill Erickson <berickxx@gmail.com>
Thu, 29 Jun 2017 14:58:05 +0000 (10:58 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
BC screen reader links are not hidden as expected using only the code
delivered by their API.  Add some custom local CSS to hide them.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
KCLS/openils/var/templates_kcls/opac/register.tt2

index 45c803c..772f746 100644 (file)
@@ -202,6 +202,16 @@ END; # input_field()
   padding: 8px;
   border: 1px solid black;
 }
+
+/* BC screen reader links are not correctly hidden via their API.
+   Add some additional CSS to hide them */
+.screen_reader_nav {
+  position: absolute;
+  top: -1000px;
+  left: -1000px;
+  z-index: 0;
+}
+
 </style>
 
 <!-- BC CSS -->