WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Buttons not operable with 'Space/Enter' When Screen Reader is ON

for

From: Mohith BP
Date: Jan 3, 2019 10:14PM


Hi Jeevan,

Just adding to the points of Birkir.
I assume these are custom buttons developed with either span or div tags.
Please check the following:
1. Ensure the tabindex attribute and onclick and keyboard events
(onkeydown / onkeyup) are on the same tag.
2. At times onclick events are attached to parent elements.
3. Try adding event.stopPropagation or event.stopImmediatePropogation
in your JS code.
4. Check whether the event.preventDefault is called out.

As suggested by others it will be helpfull if you can share the code
with scripts.

Thanks & Regards,
Mohith B. P.
On 1/3/19, Jeevan Reddy < <EMAIL REMOVED> > wrote:
> Hi Friends,
> Happy new year 2019 for all of You!.
> some of the buttons in our application are not operable with 'Space/Enter'
> when Screen Reader is On, but operable as expected when Screen Reader is
> turned OFF.
> we are using polymer JS, and tested with NVDA 2018.4 on Chrome.
> can you pls share some insights how to resolve this?
>
> Your help is greatly appreciated!
>
> !
>
>
> --
> Best Regards,
> Jeevan Reddy,
> Accessibility Consultant,
> Infosys Ltd,
> Bangalore, India.
> > > > >