Re:10 Weird HTML Hacks That Shaped the Internet
by bonzini on Friday December 01, 2023 @09:45AM
(#38487238)
Does it still work? Or do you have to use ARIA?
[ Parent
| on HN ]
Re:10 Weird HTML Hacks That Shaped the Internet
by arcanemachiner on Friday December 01, 2023 @12:50PM
(#38489763)
I think you can use `visibility: hidden` or something like that.
Re:10 Weird HTML Hacks That Shaped the Internet
by robertc on Friday December 01, 2023 @03:21PM
(#38491794)
Most screen readers ignore hidden elements IIRC.
Re:10 Weird HTML Hacks That Shaped the Internet
by jorgesborges on Friday December 01, 2023 @12:38PM
(#38489552)
This still works and is a somewhat common practice, especially for something like a skip link. Try pressing tab on some of your favorite websites you might find they use this technique.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#...