3 ms·
"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 t
by hutzlibu 3y ago
"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/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)
- extra88 3y agoI 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.html https://www.scottohara.me/blog/2022/09/12/details-summary.ht...
- Someone1234 3y agoNot supported on IE11[0] which Wikipedia supports[1] [0] https://caniuse.com/?search=details https://caniuse.com/?search=details [1] https://www.mediawiki.org/wiki/Compatibility#Browser_support_matrix https://www.mediawiki.org/wiki/Compatibility#Browser_support...
- hutzlibu 3y agoThat's a good, or rather bad point. I mean you could probably make a legacy version only, but itnis probably not worth the effort.