[HN Gopher] Only <Span>S
___________________________________________________________________
Only <Span>S
Author : lifthrasiir
Score : 20 points
Date : 2024-04-16 07:29 UTC (15 hours ago)
(HTM) web link (onlyspans.net)
(TXT) w3m dump (onlyspans.net)
| spott wrote:
| This is one massive blob of text in reader mode. No line breaks
| show up.
| rrr_oh_man wrote:
| It's neat, but during my dabbling in web dev I've noticed that
| you can use basically _< whatever>...</whatever>_ instead of
| divs, spans, sections, and it still mostly just _works_.
| CM30 wrote:
| Yeah, you could replace every single span on this page with
| almost any other HTML element and it'd work fine. But I guess
| onlylists or onlyh1s or onlybolds doesn't quite roll off the
| tongue as well.
| bluefirebrand wrote:
| Accessibility will be absolutely destroyed though
| xpl wrote:
| I am pretty sure in the end accessibility will more likely be
| solved by some smart LLMs (with vision) interpreting
| arbitrary web pages on the user side, rather than by web
| developers coding it by hand. Because the latter obviously
| doesn't universally work.
|
| I would pay money for a browser plugin that restyles every
| web page to a single readable/accessible design that I like.
| Think "Reader Mode" on steroids (that could transform
| arbitrary GUIs, not just blog posts).
| interstice wrote:
| Interesting idea, and I'd think mostly only limited by
| cost/speed per token currently
| edent wrote:
| In the end? Maybe.
|
| What about the people who can't use the web _now_?
| dartos wrote:
| > I would pay money for a browser plugin that restyles
| every web page to a single readable/accessible design that
| I like.
|
| Sometimes designs you don't like are intentional.
| dartos wrote:
| Not if you are good with ur aria tags.
| ivanjermakov wrote:
| And you often don't even need a closing tag
| gibbitz wrote:
| Tho I get the onlyfans reference, why not only <u>?
| zamalek wrote:
| This is basically what was happening late 90s and early 2000s,
| except with the div. ARIA didn't exist at the time so this
| presented a major accessibility issue. We now have ARIA, but the
| "use the right element" cargo cult persists [there's nothing
| wrong with this cargo cult - it just fits the definition, CSSing
| it up is just as functional sans older and possibly text
| browsers].
|
| Edit: it's also where table got a bad rap (for a while table
| wasn't even used for tables, it was completely taboo). Using
| table for layout completely wrecked accessibility.
| favorited wrote:
| And this https://imgur.com/2gF1cfl is how all those <spans> look
| in Reader mode.
___________________________________________________________________
(page generated 2024-04-16 23:02 UTC)