Simple donation widget - needs better accessibility & performance
S
Stephen Sorley
The existing simple donation widget doesn't work very well when using a keyboard, and is also a bit confusing when using screen readers due to not using native radio buttons and grouping elements (fieldset). It also seems quite heavy - it takes a beat or two to load after the rest of the page is loaded, and there's a bit of a lag when opening dialog windows, too.
I wrote my own version of the widget in an attempt to address those issues for my nonprofit's website, and tossed it up on Github, in the hopes that some of the improvements might get pulled into the official widget. We'll be deploying it soon ourselves.
(It's MIT licensed, feel free to grab whatever parts of it might be useful)
Thanks!
Stephen S.