@siblingpastry@mastodon.world
@siblingpastry@mastodon.world avatar

siblingpastry

@siblingpastry@mastodon.world

Technical consultant at TPGi, JavaScript accessibility specialist, writer, musician, neurodivergent (ADHD), vegetarian, socialist.

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

siblingpastry, to accessibility
@siblingpastry@mastodon.world avatar

Writing up some best-practice patterns for form controls, and I've assembled this list of native HTML controls that should never be used (because they're not universally supported, and/or their native UI has accessibility problems):

<input type="color">
<input type="date">
<input type="datetime">
<input type="datetime-local">
<input type="number">
<input type="time">
<input type="week">

Any debate on those? Anything I've missed?

siblingpastry,
@siblingpastry@mastodon.world avatar

I'm also unilaterally advising against <input type="reset"> because its utility is marginal, and far outweighed by its potential for data loss when users click it by mistake.

dgar, to random
@dgar@aus.social avatar

Why do steel food containers keep food from spoiling for so long?

Because they can.

siblingpastry,
@siblingpastry@mastodon.world avatar

@dgar I tried glass jars instead, but I got in such a pickle.

aardrian, to random
@aardrian@toot.cafe avatar

Between Tesla’s fear of being touched (staining fingerprints), fear of cleaning between its cheeks (car washes void warranty & break truck), and fear of taking a moment to be thoughtful (stuck accelerator pedal) it really feels like the Cybertruck is an intentional monument to Musk’s toxic masculinity.

siblingpastry,
@siblingpastry@mastodon.world avatar

@aardrian Yeah it’s basically ED-209

simevidas, (edited ) to random
@simevidas@mastodon.social avatar

Do you keep one fingernail longer for practical purposes?

siblingpastry,
@siblingpastry@mastodon.world avatar

@simevidas Thumbnails, then they don't interfere with typing.

siblingpastry,
@siblingpastry@mastodon.world avatar

@meduz

Peeling oranges, opening soda cans, scratching my arse, breaking buds when I can't find my grinder, the list is endless 😆

@simevidas

nzakas, to random
@nzakas@fosstodon.org avatar

UI pet peeve: When a 2FA code is required, but the input is actually six different textboxes so you can't easily paste the code in. 🤬

siblingpastry,
@siblingpastry@mastodon.world avatar

@nzakas Total fail as well -- if you can't paste the whole code into a single box, then it fails 3.3.8

ben, to random
@ben@a11y.info avatar

What have you read/written about :focus versus :focus-visible? I'm familiar with @davatron5000's https://daverupert.com/2024/01/focus-visible-love/ - are there other articles you'd add to the list?

(I'm looking for good side links for an upcoming blogpost about focus outlines, which otherwise does not wade into :focus versus :focus-visible. Opinionated takes are welcome!)

siblingpastry,
@siblingpastry@mastodon.world avatar
siblingpastry, to random
@siblingpastry@mastodon.world avatar

RE: Facebook "reels" (short recommended videos, in a group that shows up several times on any given page)

How do I permanently stop it showing up?

Failing that, how do I control what it thinks I like?

joelanman, to programming
@joelanman@hachyderm.io avatar

In Node you can easily load json like this:

const myData = require('data.json')  

is there an equivalent in the new import syntax?

siblingpastry,
@siblingpastry@mastodon.world avatar

@joelanman I don't know about Node, but ES6 has import() which returns a Promise. Is that what you're looking for? https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import

siblingpastry,
@siblingpastry@mastodon.world avatar

@joelanman Both require and import can be used as statements or dynamic functions. The statement syntax requires module import, but the function supports anything.

(Still talking ES6, don't know about Node specifically)

siblingpastry,
@siblingpastry@mastodon.world avatar

@joelanman So you want to import a module, but require() doesn't support that, and require isn't available?

siblingpastry,
@siblingpastry@mastodon.world avatar

@joelanman Oh okay, so nothing I said was helpful 😷

Ah well lol. I could rattle off a whole bunch of different JSON import ideas, but nothing you won't have already thought of.

dgar, to random
@dgar@aus.social avatar

To all the people that always said I'd never amount to anything because of my procrastination:

Just you wait.

siblingpastry,
@siblingpastry@mastodon.world avatar

@dgar Everyone laughed when I said I wanted to be a stand-up comedian.

They're not laughing now.

urlyman, to random
@urlyman@mastodon.social avatar

Sunday night

Sunak:
“the UK will continue to stand up for Israel’s security”

Translation:
“you can keep driving your fucking stupid Land Rover Defender and buying shit from Amazon if you let us help keep murdering Gazans” (for now)

siblingpastry,
@siblingpastry@mastodon.world avatar

@urlyman We need a populist pseudo-right-wing candidate who's secretly an undercover socialist. Then once they get into power ... ha ha fooled you fuckers, I'm going to be really nice and help people and fix things.

siblingpastry,
@siblingpastry@mastodon.world avatar

@urlyman Well yeah, even if that was the sincere intent, power changes people, and so do systems. There's no shortage of MPs who start their careers with optimism and then find out how the system is intentionally stacked against positive change.

siblingpastry, to writing
@siblingpastry@mastodon.world avatar

"You can't blame religion for the evils committed in its name. Those people are just using their creed as an excuse to do the evil they wanted to do anyway."
"I completely agree, so then the reverse must also be true -- you can't credit religion for the good that's done its name. Those people are just using their creed as an excuse to do the good they wanted to do anyway."
"So creed is just a mask for innate humanity?"
"Yeah. That's why creed exists."

db, to random
@db@typo.social avatar

Today’s thankless task: figuring out what about my bog-standard, non-JS, bag-of-HTML-pages of a personal website compels iOS Safari to jump to the top of the article every time I hit the back button, instead of maintaining the scroll position, when visiting any external link.

https://danburzo.ro/favorite-records-2023/

siblingpastry,
@siblingpastry@mastodon.world avatar

@db @aardrian I’m not clear on how what you’re describing breaks the back button — what has been broken?

siblingpastry,
@siblingpastry@mastodon.world avatar

@db @aardrian Sorry I was too vague there. I understand the behaviour you’re describing. But all three of the browsers you described do something different — why is Safari’s behaviour the one that you deem to be broken?

siblingpastry,
@siblingpastry@mastodon.world avatar

@db @aardrian Gotcha. Then isn’t Chrome’s body behaviour problematic in the same way?

Does it behave better if you use the first element inside main, say the <h1>, as the skip link target?

dgar, to random
@dgar@aus.social avatar

Robin: The Batmobile won’t start.

Batman: Check the battery.

Robin: What’s a tery?

siblingpastry,
@siblingpastry@mastodon.world avatar

@dgar

“What’s wrong Rick? Is it the Quantum Carburetor or something?”
“Quantum Carburetor?? Jesus Morty, you can’t just add a sci-fi word to a car word and hope it means something. Huh. Looks like something’s wrong with the Microverse Battery.”

dgar, to random
@dgar@aus.social avatar

2050 is closer than 1990.

siblingpastry,
@siblingpastry@mastodon.world avatar

@dgar 2024 is closer to the time of Cleopatra, than she was to the time when the pyramids were built.

siblingpastry,
@siblingpastry@mastodon.world avatar

@dgar Maybe 500-600 years from now. I'll put it in my calendar.

siblingpastry, to windows
@siblingpastry@mastodon.world avatar

How do regular users cope with its constant fucking ads?

Abusing system notifications, polluting the start menu, adding unremovable promotional buttons to the task bar.

I can't stand it for more than a few minutes.

siblingpastry,
@siblingpastry@mastodon.world avatar

@aardrian How do you get rid of all the ads and news shit in the start menu?

siblingpastry,
@siblingpastry@mastodon.world avatar

@paxtonjohn Cool, I'll try those things, thank 🙏

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