Replies

This profile is from a federated server and may be incomplete. Browse more on the original instance.

brucelawson, to random
@brucelawson@vivaldi.net avatar

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

brucelawson,
@brucelawson@vivaldi.net avatar

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.

brucelawson,
@brucelawson@vivaldi.net avatar

And my last sneaky quick win involves adding tabindex="-1" to the target of in-page links. (A problem I thought had gone away with IE6, but no: https://www.tpgi.com/how-to-avoid-breaking-web-pages-for-keyboard-users/)

brucelawson,
@brucelawson@vivaldi.net avatar

@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

brucelawson, to random
@brucelawson@vivaldi.net avatar

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.

brucelawson,
@brucelawson@vivaldi.net avatar

@djsundog Ah, thanks.

brucelawson, to random
@brucelawson@vivaldi.net avatar

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/

brucelawson,
@brucelawson@vivaldi.net avatar

@aardrian Don't go changing to try and please me

mattwilcox, to random
@mattwilcox@mstdn.social avatar

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?

brucelawson,
@brucelawson@vivaldi.net avatar

@mattwilcox I have no idea, but you've weirdly piqued my interest!

brucelawson, to random
@brucelawson@vivaldi.net avatar

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.

brucelawson,
@brucelawson@vivaldi.net avatar

@ppatel Happy hundredth!

brucelawson, to random
@brucelawson@vivaldi.net avatar
brucelawson,
@brucelawson@vivaldi.net avatar
brucelawson,
@brucelawson@vivaldi.net avatar

US Department of Justice files Antitrust lawsuit Against Apple; the dominos are beginning to fall in favour of a fairer, better Open Web! https://open-web-advocacy.org/blog/us-doj-files-apple-antitrust-case/

brucelawson, to random
@brucelawson@vivaldi.net avatar

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!)

brucelawson,
@brucelawson@vivaldi.net avatar

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

brucelawson,
@brucelawson@vivaldi.net avatar

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.

brucelawson,
@brucelawson@vivaldi.net avatar

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

brucelawson,
@brucelawson@vivaldi.net avatar

@matt But they've set out their stall on privacy and security, and frequently stated that WebKit is the safest and most secure engine. @plankton

brucelawson,
@brucelawson@vivaldi.net avatar

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/

brucelawson,
@brucelawson@vivaldi.net avatar

@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?!?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • rosin
  • everett
  • osvaldo12
  • GTA5RPClips
  • ngwrru68w68
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • modclub
  • Youngstown
  • Durango
  • slotface
  • kavyap
  • provamag3
  • Leos
  • tacticalgear
  • cisconetworking
  • khanakhh
  • mdbf
  • tester
  • ethstaker
  • InstantRegret
  • anitta
  • normalnudes
  • megavids
  • cubers
  • lostlight
  • All magazines