zero-to-nix
zero-to-nix copied to clipboard
Issue with page `src/pages/start/1.install.mdx`
https://zero-to-nix.com/start/install has a disclosure element, text "Why aren't we using the official Nix installation script here?". This seems to be some sort of JavaScript-driven expander, and doesn't work if the page's JS doesn't load; it can't be keyboard focused or opened, either. It doesn't need to be; this is exactly what the HTML details element is for, and that works everywhere, and has built-in accessibility which this does not. It would be a lot better to use HTML and not require scripting for this, so you don't need to reimplement all the features that an actual HTML element provides for you, perhaps.