WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Is a button that does not support space bar activation a violation of WCAG?

for

From: Birkir R. Gunnarsson
Date: May 6, 2015 7:13PM


Guys.
I was not asking whether it was hard or easy (I have a single
JavaScript function of 5 lines that adds the appropriate keyboard
interaction to all links turned buttons).
I was asking if it was an absolute requirement of WCAG that all
buttons be coded so that either enter or spacebar activates them.
My guess from where this discussion has gone is no.
Thanks