Closed mercime closed 7 years ago
First pass look:
Addresses bp search form.
Updates the js to use class hooks.
Updates styles to add classes and properties to position off screen (these are kept as a separate approach from the screen reader text class)
As Nouveau technically doesn't work without JS not making too much effort on disabled JS other than to re-instate the show properties to ensure the search submit is visible.
With the commit of show/hide rulests and updates to some actions where there was the use of jQuery .hide()
tackled we'll close this ticket and open fresh ones if necessary for further instances where JS needs updating.
Applying
display:none
to any element in the markup makes the element inaccessible to users of screen readers.We can either add the class
.bp-screen-reader-text
to that element or add a new class, withoutdisplay:none
in the declaration of that new class, as a hook which can be manipulated via JavaScript.Related to #117