This version is old school.
Please find jQuery plugins on npm.
jQuery.a11yButton
by Matt Long
When you intend to use a button in your HTML use a button, not a div, span, or anchor. However, if you can't use this plugin.