@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 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.