I think what Zarf meant is a user preference that shows spoilers by default. If someone enables that preference in his profile, then that user, and only that user gets to see spoilers.
Showing spoilers for everyone would of course defeat the purpose.
– Change the “spoiler” CSS class not to be hidden, but to have the same background and foreground colour (so that marking the text will make it readable).
That’s it. Everybody’s happy!
I’d quite like that option. I dislike having to continually click to show spoilers, particularly in posts where people hide every second word in spoiler tags. Having one simple option that would turn off the tags and let me see everything would be great.
Anybody know if such mods already exist?
That’s what I was talking about.
It’s not a high priority, though.
Also, if someone could change the default theme so that the code block would have a maximum height like in the alternative theme, that would cut down using the spoiler tag to hide large blocks of code. Because it’s pretty annoying when it’s misused that way especially when you’re using the theme where it has no benefit whatsoever.
Guilty of that. Sorry. I did it because I found large chunks of code annoying (too much to scroll down) when not interested in the fine details or revisiting a thread looking for some comment.
I’ve seen some people use the “Rant” tag instead, which I believe is intended to hide a long screed that people may wish to skip.
I would dislike this change. Scrolling windows within scrolling windows are often awkward for me to deal with, especially now that the scroll bar has been done away with and the only way to get a window to scroll is to point your cursor in the general direction, two-finger swipe your way down, and hope the computer understands you. At least when there’s a massive code block open in the default theme as it stands, I can click outside the text entry fields and scroll using the arrow keys.
I have kind of always preferred the ‘invisible text you need highlight’ form of spoiler control – more sentence compatible. I feel it’s more natural when the sentence reigns supreme and the spoiler is a subset of the sentence, rather than vice versa. This makes spoiler-tagged posts easier to get the gist of without getting spoiled, because when it’s convenient to only blank out certain words in a sentence, that’s what people tend to want to do. (Everybody used to do it that way in the days when this kind of software was young so I expect other people know about this method and just don’t prefer it for whatever reason maybe having to do with having to fiddle with theme colours too much.)
Not compatible with all browsers, which after all are a very wide range of display models (including terminal apps running in another wide range of display models).
Does the simple “text the same color as the background” thing work for folks using screen readers, though? (Also, highlighting text can be a pain on mobile devices.)
Thanks for those caveats. Anyone else get the feeling from threads like these that mobile has been a giant downgrade for the web?
Since screen readers have been mentioned as well, I’d say no… it’s just a matter of accessibility. You are not forced to make websites that are mobile-friendly, nor blind-user-friendly, but if you can, kudos to you. As long as you at least make websites that work on the most popular browsers out there. Everything else has been going on since before the mobile, methinks.
Adding a user setting to control this will be too tricky, but if you can find somewhere a phpbb mod for spoilers with a user setting already included then I can install it.