@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 javascript
@siblingpastry@mastodon.world avatar

Here's a very-niche but then-very-useful trick I realized today -- you can create empty text-nodes to use as node references, for things like DOM insertion, range boundaries, or whatever.

I needed this to set the end of a range immediately before an element's closing tag, when references to existing child nodes might be invalidated by race conditions.

You don't even need to persist the references for removal, since a single call to context.normalize() cleans them all away.

siblingpastry, (edited ) to random
@siblingpastry@mastodon.world avatar

fyi. Sonoma 14.5 includes some changes to the QuickNav feature in VoiceOver, and after I updated, it was turned on by default.

Some hours of confusedly testing why none of my JS key handling scripts are working anymore, turned out to be that -- unmodified arrows and navigation keys aren't passed through to JavaScript when QuickNav is on.

(You have to hold Option. I don't know if that was always the case, I didn't know about QuickNav until today.)

siblingpastry, (edited ) to keyboard
@siblingpastry@mastodon.world avatar

I've been playing around with keyboard scrolling of overflow regions, and I was interested to note how Firefox's native behavior doesn't expose any additional semantics -- i.e., it doesn't apply a role or accessible name when the scrolling region becomes focusable.

And I think that's the right thing to do -- that our standard workaround of including role="region" and aria-label or aria-labelledby (along with tabindex="0") creates unnecessary verbosity.

(1/3) #keyboard #accessibility

siblingpastry, (edited ) to javascript
@siblingpastry@mastodon.world avatar

Writing to handle browsing is interesting.

Since keydown only fires for targets that can be activeElement, the event target from caret navigating plain text is always <body>.

However you can identify which element contains the caret, by evaluating the range data, which you can also do from selectionchange events.

And get this -- Safari still fires those events, even though it doesn't support caret browsing ... because it actually does, it just doesn't show the caret!

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, to ADHD
@siblingpastry@mastodon.world avatar

Aha, now I get it ...

Adding something to a TODO list makes it generally less likely that I'll do it.

If I add it to the list, then I'm far less likely to just remember it, because it has less permanence. So whether I'm later reminded, depends on whether I remember to check the list.

So for each case, I have to evaluate which of those two is more likely.

Then for anything I'm reasonably confident of remembering -- it's more likely to happen if I don't create a reminder for it.

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?

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, to random
@siblingpastry@mastodon.world avatar

I've updated an article I wrote last year, on whether various kinds of single pointer interaction constitute a path-based gesture, for the purposes of 2.5.1 Pointer Gestures.

This update has two significant changes:

  • Clarification of intent -- this article does not define pass or fail criteria for 2.5.1.
  • Working definitions for the difference between swiping, dragging, sliding and flicking/flinging gestures.

https://www.tpgi.com/is-swiping-a-path-based-gesture/

With thanks to @patrick_h_lauke

siblingpastry, to random
@siblingpastry@mastodon.world avatar

Continuing our series on testing for WCAG 2.2 -- SC 2.4.11 requires that interactive controls are not entirely obscured by author-created content, at the point when they receive focus.

This is the only SC in WCAG 2.2 that can be fully automated, and I've included a detailed breakdown of how this can be done ... in theory. Unfortunately I don't yet have a finished script to demonstrate, since it turned out to be a lot more complex in practice than it seemed in theory!

https://www.tpgi.com/how-to-test-2-4-11-focus-not-obscured-minimum/

siblingpastry, to random
@siblingpastry@mastodon.world avatar

Can anyone telling my why my card (for the election of a regional police commissioner) has the following text underneath the polling station address:

"///birthing.absorbing.chuckling"

wtf is that??

siblingpastry, to writing
@siblingpastry@mastodon.world avatar

Woah.

I keep finding myself writing in iambic pentameter. Just naturally, not intentionally, just because it flows with such a nice rhythm.

This might yet explain my tendency to finish sections, with a rhyming couplet that expresses my affections.

siblingpastry, to writing
@siblingpastry@mastodon.world avatar

Know your interjections:

"Hmm" = really not sure
"Hm" = not sure (defensive)
"Mhmm" = how curious
"Mmhm" = yeah sure (sarcastic)
"Mhm" = okay then
"Mm" = that's nice
"Mmm" = that's really nice

siblingpastry, to random
@siblingpastry@mastodon.world avatar

What's the regional US accent that sounds like a really bad fake American accent?

Mark Wahlberg has this accent in "Ted".

siblingpastry, to writing
@siblingpastry@mastodon.world avatar

"I mean what is the deal with doctrinal theology? There are thousands of web sites and forums locked in endless pedantic debate, analyzing the arbitrary threads of theories far and wide. Like whether that wizard headmaster is gay, whether it’s kinda weird for hundred-year-old vampires to be dating school girls, and whether portrayals of counter-predatory sexual submissiveness are empowering or denigrating. Theology is the same. Just wanking over fan-fiction. "

siblingpastry, (edited ) to random
@siblingpastry@mastodon.world avatar

"We care about your privacy" is the latter-day "I'm not racist but..."

siblingpastry, to writing
@siblingpastry@mastodon.world avatar

Point of curiosity --

If I describe a character (male, middle-aged, ex-service with ptsd) as being a "venn-like presence" -- what does that evoke in your mind, in terms of his personality?

siblingpastry, (edited ) to writing
@siblingpastry@mastodon.world avatar

"The years weren't a total waste though, I learned a great deal from being a junkie. It's just the number-one thing I learned from being a junkie, is don't be a junkie."

siblingpastry, to random
@siblingpastry@mastodon.world avatar

The trouble with is that the deepest questions are inherently unanswerable -- not because there's no answer, but because the question doesn't mean anything.

siblingpastry, (edited ) to writing
@siblingpastry@mastodon.world avatar

"Why should I care if I burn that bridge, there’s always another bridge."

siblingpastry, (edited ) to Logic
@siblingpastry@mastodon.world avatar

I came up with a kind of thought experiment this morning, but I'm not sure if it's valid or nonsense.


Either something has always existed, or at some point, nothing existed. Those are the only two possibilities.

Nothing means literally nothing -- no matter, no space, no time, nothing.

But that's not possible -- non-existence can't exist, that's a logical contradiction.

Therefore, something has always existed.


Is that logically sound, or is it just word play?

siblingpastry, to random
@siblingpastry@mastodon.world avatar

Whenever I spend time listening to music I've made, I get this nagging sense of ... am I being really narcissistic here?

Which is ridiculous. The whole point of making music is so I can have music I like that doesn't already exist.

siblingpastry, to random
@siblingpastry@mastodon.world avatar

Just musing on the concept of fallacies --

So a is defined by how the conclusion was arrived at, not what the conclusion actually is. Any conclusion that was arrived at through fallacious reasoning, is a logical fallacy.

However, that only proves that the conclusion is illogical, it doesn't prove that the conclusion is logically false.

Right?

siblingpastry, to macos
@siblingpastry@mastodon.world avatar

You know how in a there's thing where if you drag a window and hold it near the edge of the screen, you get a semi-transparent overlay around the whole screen, that if you let go of the window at that point, it gets maximized.

Is there any way to turn that off? It makes it really hard to position windows at the edge.

siblingpastry, to random
@siblingpastry@mastodon.world avatar

@dgar Could I trouble you for a boost? 😁 https://mastodon.world/@siblingpastry/111937495990733661

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