News for hackers. Stuff that matters.
Re:Templating in HTML by grimgrin on Tuesday October 04, 2022 @07:11PM (#33088424)
There’s a way to hide from screen readers too if the OP was so inclined:

https://developer.mozilla.org/en-US/docs/Web/Accessibility/A...

Re:Templating in HTML by cantSpellSober on Tuesday October 04, 2022 @09:06PM (#33089661)
display: none hides the content from screen readers, as it is not rendered.

aria-hidden is for elements that were rendered but are hidden (it's redundant on elements with a display value of `none`)

Re:Templating in HTML by grimgrin on Friday October 07, 2022 @05:59AM (#33119293)
oh yes yes. what was i thinking! ty for correction