bugsmith

joined 3 years ago
MODERATOR OF
 

I found this article fascinating, and wasn't expecting the initial part of it to talk about climate change, something I'd never considered about different filetypes. I kind of knew what I would expect to read about PDF vs HTML when it comes to accessibility, but interesting nonetheless.

1
Don't disable buttons (gomakethings.com)
submitted 2 years ago* (last edited 2 years ago) by bugsmith@programming.dev to c/a11y@programming.dev
 

The article discusses why developers commonly disable form buttons during submission to prevent duplicate requests, but how this creates accessibility issues. While disabling buttons may seem to prevent resubmission, users can still submit the form via keyboard. A better approach is to add a "data-submitting" attribute to the form during submission processing as this preserves focus without breaking functionality or accessibility.

The article also recommends including ARIA live regions and status messages to keep users informed.

 
view more: ‹ prev next ›