6 ms·
In order to make it fully accessible you might want to start from scratch and make a more traditional site that's not doing so much with JS to manage what conte
by doinathing 6y ago
In order to make it fully accessible you might want to start from scratch and make a more traditional site that's not doing so much with JS to manage what content is on screen. Which might be more than you have time to deal with. But generally, when showing/hiding/navigating with JS, you are short-circuiting a lot of stuff you get for free with the browser (focus reset, announcing of changes etc.) and you have to reimplement a bunch of stuff in JS to get the same effect.
Sometimes it's worth it if what you are doing with JS is highly interactive & there's a payoff. But in this case, each thing of content could be its own page, and that plus a little more semantic HTML would do wonders.
- felipereigosa 6y agoYou're probably right, it's just that I'm more of a programmer than a web designer (this is my first site) so I just built everything with Clojure/Clojurescript. But I'll definitely do that once I have some time.
- febin 6y agoIs there any library you used on Clojure/Clojurescript? I had an abstract idea of building something similar to this. Do I need any background in mechanics to build something like this?
- felipereigosa 6y agoI mentioned somewhere else here the libraries I used, search for jbullet with your browser and you'll find it. The rest I built myself. Clojurescript is just for the website. I don't have a background in mechanics, so no, not really. If anything I was trying to avoid the complications that real mechanical engineers have to deal with.
- Shared404 6y agoSorry for the self promote, but this may be interesting for your usecase: https://git.sr.ht/~evan-hoose/SSSSS https://git.sr.ht/~evan-hoose/SSSSS Feed it a directory structure with a couple of template files/markdown and it will spit out a website. It should be pretty simple to hack on. I've got a demo site [0], the source code for which is [1]. Feel free to shoot me an email if you've got questions, or if you want to tell me this is stupid, or if this looks like spam, or for whatever. [0] a-shared-404.com [1] https://git.sr.ht/~evan-hoose/a-shared-404 https://git.sr.ht/~evan-hoose/a-shared-404