9/ Don’t finish everything you start. Life’s too short and if you’re not getting paid, do what makes you happy.
10/ TODO
@drwpow Why do you imagine that the point of my advocacy isn't to make space for the truly valuable things, at the expense of the stuff that isn't pulling it's weight?
I'm never going to tell you "don't make a rich experience", I'll only ever challenge if the juice is worth the squeeze.
@drwpow Also, counterpoint:
SNAP benefits sites for more than 20% of Americans are unusably slow. All of them would be significantly faster if states abandoned client-side-rendering, and along with it, the legacy JavaScript frameworks (React, Angular, etc.) built to enable the SPA model.
@drwpow Well, if there's an argument about which instinct is *directionally* correct in the context of 2024 webdev dogma and practice, I know which oversimplified version I'd pick.
But with you to the extent that what you're actually preaching is "moderation in everything". That's also my message.
@drwpow Like, you literally can't square me leading Project Fugu or the design of Service Workers or a decade on TC39 with "never JS", unless the argument is that I've had an undiagnosed aneurysm 😅
There's a budget. It's closer in than folks realize, and that means we need to spend it better. That's not "delete all the JS", not by a long shot.
@drwpow @mook ironically you mentioned 3 things (combo boxes, calendars, context menus) that can degrade gracefully and still look gorgeous with just some CSS cleverness. Then if your web APP (not site) offers me a killer feature which really require JavaScript (e.g. it's some 3d or VR game) and you can convince me that you (and your 3rd party dependencies, which should still be avoided/self-hosted as much as possible) are trustworthy enough, I will set your domain to (temporarily) TRUSTED in @noscript (yes, extremely biased POV😅).
@drwpow I'm no accessibility expert, but that really sounds like either a web standards or browser vendor implementation bug, to be reported and fixed.
Anyway, here's someone seemingly better equipped than me arguing for the a11 superiority of HTML-only <input type=date> over custom JavaScript date pickers: https://www.digitala11y.com/input-type-date-the-accessibility-of-html-date-picker/
@ma1 I do work with accessibility on a regular basis, and this is a well-known issue. It already has been reported, but as you know browsers aren’t always the fastest to fix things.
Also that article says “<input type="date"> is usually better than custom widgets” and I don’t disagree! But they *don’t* pass all requirements yet, and my original comment still stands.
@drwpow I agree that browser vendors are not the most responsive bunch, but those tests are really ancient (Firefox 80 and Chrome 92, really? https://a11ysupport.io/tests/tech__html__input__input-date#versions)
Have you got any more up to date information?
Any FOSS progressive widget enhancing JavaScript shim which passes all the a11 tests?
If that exists, I might volunteer to statically include it in @noscript and in the @torproject Browser as a fallback for users who disable scripting.
@drwpow I presume you mean "interactivity through software on a webpage" and not "JavaScript, the language"?
Because I'd strongly argue that JavaScript is one of the worst languages out there. It's an abomination. With modern improvements at most plastering over some of the worst parts of that language. Hardly making it better, but rather making it less bad.
@drwpow for sure! modern TS solves some issues - it plasters over some ugly parts of JS.
But it still carries all the legacy/bad parts of JS.
It fixes type coercion and the dynamic typing fu. But it doesn't -cannot- hide the horrors of Numbers, the insane API of e.g. date and errors. The identity crisis of not being FP, nor OOP, but all of it and none at the same time.
I've been bitten far too often by issues stemming from the (lack of) design in JS/TS (and ofc also, by me being a moron)