Here's a good question: what are your fave quick wins when refactoring, or just tweaking while fixing an unrelated bug? I like it when legacy codebases decided to hang styles off classes, so I can change <div class=nav> into a <nav class=nav> and make it much better for assistive tech users with no other changes required. https://mastodon.social/@timking/112203115458940448
Ditto changing <div class="header"> to <header class="header"> and adding <search> elements; a ton of bang for the buck. Could be more work, but replacing crappy JS faux-accordians with <details> and <summary> brings robust keyboard a11y to pages with little effort.
@sarajw If it's any consolation, it was new to me too. I remembered doing it in the pre IE9 days, but until recently hadn't realised it was still a problem
Mastodon q: in the 'advanced' Tweetdeck-style view, where does my 'Federated timeline' come from? Most of the people in it I've never heard of, and while I have no moral objection to the nude images of attractive women that some of the posts carry, they are distracting and a bit shit when in a public place.
I was getting grumpy about all the JS flimflam needed to make a hamburger menu button trigger a pop-up menu thing, and then remembered that @keithamus dreamed up declarative <button invoketarget=""> and now I'm grumpy it's not in all the browsers already (soon, for modern ones) https://buttondown.email/cascade/archive/018-i-love-invokers-and-you-should-too/
CSS People... am I making it up, or have I seen a thing recently with modern techniques that allow you to make animatable background gradients of a sort where you have heavily blurred blobs wandering around, that's actually performant and not a banded mess?
It would have been my grandad's 100th birthday today. He was highly decorated in the War. My grandma always says it was all the tinsel and bunting on his helmet that got him killed on the first day.
I'm at an EU workshop for Apple to discuss and justify its DMA compliance plans. They've been forced into 3 huge u-turns by EU (killing PWAs, removing Epic Games' developer licenses, sideloading) so I'm interested to see their demeanour. Will it be humility, or the usual 'fuck you, we're Apple'? There are people from EU companies that Apple blithely planned to bankrupt by sneakily removing PWAs here. And regulators have human feelings too; no-one like "fuck you". I'll be here all day (try the baguettes!)
The last section is on data-related DMA provisions, so not something I know much about. Apple kicked off with the laudable statement that "privacy is a human right". (unless you live in China, of course.)
We asked Apple why their compliance report is only 12 pages (Microsoft was 421pp, Google's was 221pp). They replied that it's very clear and everyone understands what they're doing to comply with DMA.
I'm sure PWA owners, devs and users in the EU are enormously grateful for Apple's clarity over the last few weeks on what they're doing to comply with the DMA.
And that's a wrap for the Apple one. Chair noted that they promised to come back with more answers and some Qs were not, ahem, fully answered. It's the beginning of a process; EU facilitated, but did not ask questions (that's later). Other gatekeepers get to sit in the Chair of Interrogation throughout the week. Phew. Over and out, Fam. xx
An interesting article about how yesterday's DMA meeting was full of "Complaining Competitors" (which is untrue; we are web developers, not megacorps) from the "Center for European Policy Analysis", whose 2024 "supporters" include Amazon, Google, Meta … and Apple. https://cepa.org/article/europes-dma-a-chorus-of-complaining-competitors/
@craiggrannell I'd have to dig into the transcript but it was something about how the pesky EU stop them charging 30% for every app (b/c now there will be alternative app stores) this fee is a way to ensure Apple is compensated for all the work it does building a brilliant developer platform. Apple staff need to eat. And some of them have children. Will no-one think of the children?!?