153 Followers
455 Following
1.2K Posts
Former lawyer, now software engineer, mostly JavaScript
Threadshttps://threads.net/fongandrew
BlueSkyhttps://bsky.app/profile/aftd.dev
Hello #blind and #lowVision friends, I threw together a little thing to help some low-vision family members center their face on a webcam. If this is something you've ever had to deal with, give it a try: https://face-value.geshido.com #accessibility #a11y
Face Value

@siblingpastry Visually, this would look like a list of items, some of which are a different color / styled differently to denote an exception state.

Off the top of my head, I could just denote the error state via a `aria-describedby` and do some autofocus-ing on a bad submit. But I'm not sure if that's enough.

@siblingpastry They do, but if the dialog is closed, then the states are hidden.

Example: Suppose a user fills out a list of contacts and wants to bulk submit all of them at once. For compactness, each address is represented as a single button that opens up a dialog with subfields for name, address, email, etc.

For whatever reason, suppose the user is allowed to close the dialog with incomplete or invalid info (e.g. it's a draft or we have some async process that later marks the contact as invalid). Is there a standard way to say "hey, you need to open and fix items 3 and 6 in this list"?

Hey #a11y folks, suppose I have a form with a button that opens a mini-form in a popover or dialog. Does it make sense to stick things like `aria-required` or `aria-invalid` on that button if things in the mini-form are required / invalid?

On one hand, this feels semantically wrong? The button itself is just a trigger and can't really be "invalid" in anyway. On the other, since the actual invalid elements are in the popover or dialog, there's no other indication of this state (apart from manual descriptions).

#aria #web #weba11y #accessibility

@mathowie You're sort of obligated to reenact the whole "who is number two" scene from Austin Powers when that happens.
For folks who prefer reduced motion in their UI, do you find the sudden appearance of a UI element jarring? Like if a sidebar drawer just shows up on screen instead of sliding in, does that bother you? #accessibility #disability #neurodiversity #web
Bluesky

Bluesky Social
@QasimRashid Bluesky annoyingly does not preserve permalinks or redirect if you change your handle, so you might want to edit this to point to your current one.

I'm a fan of using #Playwright snapshots for visual diff testing but I have a hard time making it work in CI. I develop locally on macOS but the CI job runs in Linux, so there's often a significant mismatch due to font aliasing. How do folks handle this?

I've tried adjusting sensitivity but too much and the tests end up missing things. I'd also prefer to use things I can run entirely on my own (e.g. no Applitools). #webDev #testing

As someone who used to loosely follow #sfpol, how does the election shift power between progressives and moderates on the #SFBOS (assuming current results hold up)? Dean Preston losing to Bilal Mahmood would obviously be a win for the #yimby crowd, but I'm less sure about everything else.
We are not talking about this enough.