aardrian,
@aardrian@toot.cafe avatar

I wrote about bulk expand / collapse and bulk check / uncheck controls:
https://adrianroselli.com/2024/03/check-all-expand-all-controls.html

In short:
• Use <input type="checkbox" [checked]> if you want to bulk check / uncheck a bunch of checkboxes.
• Use <button aria-pressed="true|false|mixed"> if you want to bulk expand / collapse a bunch of disclosures.

#HTML #ARIA #accessibility #a11y

cferdinandi,
@cferdinandi@mastodon.social avatar

@aardrian This may be the shortest post I've ever seen from you! I like it!

aardrian,
@aardrian@toot.cafe avatar

@cferdinandi You like the brevity or the subject?

Because holy crap is brevity difficult for me.

cferdinandi,
@cferdinandi@mastodon.social avatar

@aardrian Both! I really enjoyed that just dove right into "do this."

HOWEVER, I also love that you nearly always "show the receipts" in your normal long form content, so don't read too much into this.

aardrian,
@aardrian@toot.cafe avatar

@cferdinandi Yeah, the problem with the long-form stuff is that people then ask questions that are answered in the post. Telling me the posts are too long for folks.

Thanks for the feedback!

cferdinandi,
@cferdinandi@mastodon.social avatar

@aardrian That tracks! I get that on the rare instance where I write longer pieces, too. At least having it written means you can deep link to it?

aardrian,
@aardrian@toot.cafe avatar

@cferdinandi Considering I often write just to reference for clients, anchor links and detailed write-ups have been critical.

Also handy to copy/paste into GitHub issues

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