News for hackers. Stuff that matters.
Re:300ms Faster: Reducing Wikipedia's Total Blocking Time by hutzlibu on Monday May 29, 2023 @01:10PM (#36115824)
"Both seems like reasonable use cases for interactivity that is (better) achieved using Javascript."

Only if you want fancy animations. I sometimes do, but I think wikipedia can do without(and they don't) and use <details>

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/de...

And media viewer I would naturally do with js as well, but I am certain you can also do it easily with CSS. (Many ways come to mind)

Re:300ms Faster: Reducing Wikipedia's Total Blocking Time by Someone1234 on Monday May 29, 2023 @01:40PM (#36116134)
Re:300ms Faster: Reducing Wikipedia's Total Blocking Time by hutzlibu on Tuesday May 30, 2023 @04:03AM (#36122279)
That's a good, or rather bad point. I mean you could probably make a legacy version only, but itnis probably not worth the effort.
Re:300ms Faster: Reducing Wikipedia's Total Blocking Time by extra88 on Monday May 29, 2023 @01:35PM (#36116081)
I love details/summary and want them to succeed but current implementations have some issues. A big one is VoiceOver for iOS currently what they are or their state, something that's very straightforward and reliable when making a custom disclosure widget.

Good article about some issues (with a link at the top to his previous article about them). https://www.scottohara.me/blog/2022/09/12/details-summary.ht...