[–] 1 point 8 months ago

yeah i just had a new york times article that showed half the article then said javascript was needed to show the rest. um no. if you could render that much you don't need javascript to just have the whole thing there. now im sure there are a bunch of javascript things I don't want to be a part of your site runs.

  • source
  • parent
  • context
  • [–] 6 points 8 months ago (1 child)

    Some websites that display interactive data, and so forth, need javascript to work at all for that feature. But, most websites could provide basic functionality without javascript. What irks me is the requirement to run javascript to see anything at all. If you're displaying a blank page when I visit without javascript, that is a broken site, IMO. At the bare minimum display a message that javascript is required. From there, I can decide whether what you're offering is worth enabling javascript. Also, sites that demand I run every single script to see any content almost always ends with me leaving and never returning. Which, I suppose, is fine with the developer and owner, too.

  • source
  • [–] 16 points 8 months ago

    If your website doesn't work without javascript, then it will be permanently broken for me and many others who disable it by default for very valid reasons. The has been part of the web since at least forever, so if your website doesn't support that, it's because your web developer isn't very good.

  • source
  • [–] 1 point 10 months ago

    Modern websites no longer fit the document-centric model HTML was created for. A typical news homepage mixes headlines, images, teasers, and interactive elements in ways the original spec never anticipated. The New York Times even present teasers without headlines at all. This diversity shows how little shared foundation there is for developers today – and why HTML needs a broader, more coordinated evolution beyond isolated improvements.

    Aren't such cases already covered? I don't see the issue or alternative.

  • source
  • [–] 3 points 10 months ago (3 children)

    As someone who has been programming web apps since the mid 90s, this is a great article and I learnt a lot that'll I'll be using from now on. Thanks for that.

  • source
  • [–] 3 points 10 months ago

    Have people really forgotten about framesets? Because those are definitely still used in some places in the wild.

    I remember around 2006 or so there was a lot of talk about replacing them with something called XFrames, which sounded exciting to me at the time; does anyone know what happened to that?

  • source
  • [–] 2 points 10 months ago

    Unpopular opinion, but this is a bit of a pointless effort. They are never going to get the default form elements to the same level of control/style/design/functionality that web developers need, so JS is going to stay.

    Basic form elements are good enough for basic sites, anything more can fall back on JS+CSS bullshit.

  • source
  • [–] 2 points 10 months ago

    This blog post reminds me of Discord's dates, often times used as release date indicators (of a game, update, stream, etc), and could be fit for <time> for what the user intends.

    These could be native popovers, popovers using JS or even custom :after CSS pseudo elements.

  • source
  • [–] 3 points 1 year ago (6 children)

    I’m not sure how much this matters seeing as it works in all browsers regardless, but use of inside the is technically invalid according to the HTML specification.

    What a bizzare statement to put your name next to.

  • source
  • [–] [S] 1 point 1 year ago (1 child)

    Turns out no, an imagemap cannot use relative units for its hotspots. Sort of. I can use whatever units i want for one corner of a rectangular hotspot, i can even mix units, but one corner has to be in px. What does work is adding a single pixel transparent image with a link, stretched to cover the hotspot. Then i can position and scale that image using vw units (vh and % won't work) and for reasons beyond my comprehension, that just works.

  • source
  • view more: ‹ prev next ›