python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Does my sr-only alternative seem correct to you?
display:none or visibility:hidden are not good ideas to hide a focusable element, because screen readers cannot see them.
This is the "traditional" way to hide an element from view but keep ...
Ann MB
Votes: 0
Answers: 1
Hide/display div with "select option rule" with pure css
there is good trick to hide/display div or another content with checkboxes/radio inputs and pure css like in example bellow.
.theTrick {display:none;}
#display_yes:checked ~ .theTrick {display: block;...
spidyCZZ
Votes: 0
Answers: 0
is there any other way for hiding an element on print then css
I was trying my print code on different devices and on my phone the hidden elements still showed up after:
document.getElementById("head").style.display = "none";
and then:
documen...

my profile
Votes: 0
Answers: 0