WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Links and Spacebar


From: glen walker
Date: Feb 4, 2020 12:31PM

I'm confused. You originally asked about enter/space for LINKS but your
response below talks about BUTTONS. Yes, the authoring practice says both
enter and space should activate a button. No one is disputing that.

The big discussion was whether space should activate a link and why that's
not recommended. The authoring practice says that only enter should
activate a link (https://www.w3.org/TR/wai-aria-practices/#link).

On Tue, Feb 4, 2020 at 11:13 AM Marshall Sunnes < <EMAIL REMOVED> >

> Thanks, Sean. Completely agree with you. My concern was around those who do
> not use screen readers (i.e. keyboard only). The ARIA Authoring Practices
> recommend that Enter and Spacebar be able to trigger a button.
> Best,
> Marshall