by runarberg · 7y ago · 0 comments
There is comment below where someone has a screenshot of how it looks in lynx, where CSS and JS don't exist. Instead of using CSS to swap visibility I am going to revert to how I initially had it where JS changes the text from 'disabled' to 'enabled'.
Edit: Fixed it, thank you.
I would also recommend against using the `<h1>` tag to convey the main information. Usually `<h1>` is used for the main heading—which I presume is the text ”is js enabled” which is located at the top, but wrapped inside a `<nav>`instead of a `<header>` to denote the document structor and `<h1>` to denote the text’s purpose as a main heading.
Instead I would use a `<strong>` tag to convey the main information, and a nested `<b>` (the Bring attention to element) to spell the word “enabled” or ”disabled”
</nitpick>
For example, using Medium with everything on is a pain. But if you switch off JS, CSS and images, very often the whole text of an article fills in one screen, is quite clean and really fast. Using Medium in this way actually becomes a pleasure (unless the images are a apart of the article) - you can navigate the website rarely using the mouse. In any case, I'm not alone in using the web in this way - turning everything on is just a waste of time and resources. You can check it easily yourself with an extension like disable-HTML that allows turning off these thing instantly.
https://i.imgur.com/MAalREE.png
If you find that more legible then all power to you, but nobody browses like that.
Also, with js disabled your link is just an empty page, imgur is too incompetent to be able to show images without JS.