Re:The easiest way to keep your web apps accessible: Just us...
by MartijnBraam on Wednesday August 15, 2018 @07:39PM
(#17770685)
Please don't do this unless you also handle dragging files on it.
[ Parent
| on HN ]
Re:The easiest way to keep your web apps accessible: Just us...
by megous on Thursday August 16, 2018 @09:52AM
(#17774584)
That's another issue easily solved by DnD API modern browsers implement. And should probably be done differently with regards to UX depending on whether the clicky part was a button, or a larger upload area.
Frankly, I don't find the original UX of dragging files onto an upload button all that intuitive. So instead I add drop functionality to a larger container in my apps. So if I have dialog that accepts files, users can drag files anywhere over the dialog and the dialog highlights that it accepts drops while dragging.