Re:Ask HN: Is accessibility worth it?
by sharps_xp on Wednesday February 02, 2022 @02:54PM
(#30183074)
thanks for that insight. that kind of throws drag and drop interfaces out the window
Re:Ask HN: Is accessibility worth it?
by lashkari on Thursday February 03, 2022 @10:35AM
(#30193733)
We made drag-and-drop interfaces accessible by allowing users to TAB through the original list, press ENTER on the item they want to move, then use the arrow keys to move the item and press ENTER again when done (or ESC to cancel). After each move, the item's current position, and any necessary local context, was announced via `aria-live` region.
There are other ways that this can be accomplished with even fewer keystrokes, so I can't imagine a scenario where drag-and-drop interfaces would have to be avoided because they couldn't be made meaningfully accessible.
Re:Ask HN: Is accessibility worth it?
by sharps_xp on Thursday February 03, 2022 @12:11PM
(#30195182)
do you have a demo or a gif or this? would love to see it
I can't share the work I referred to above, but it was very similar to the last example on this page: https://salesforce-ux.github.io/dnd-a11y-patterns
Disclaimer: I have no affiliation with Salesforce or the creation of that example page. I just found it in a web search.
As an example, if you make mouse-based users do something in 2 clicks, but keyboard-based users tab through 100 elements to do the same thing, that is going to be flagged as not accessible even if it does pass WCAG validators.
As far as startup MVPs go, I agree completely that it isn't required on day one, but the design should take it into consideration to be ready for the future.