WebAIM - Web Accessibility In Mind

E-mail List Archives

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

for

From: Birkir R. Gunnarsson
Date: Jan 3, 2019 8:31AM


If these are synthetic buttons that only work with onkeyboard
listeners, they would fail when a screen reader is running.
In browse mode, the typical screen reader mode for exploring a page,
when the user finds a button element and presses enter or spacebar the
screen reader sends an onclick event with the screen coordinates to
the browser (it is as if the user had clicked on that location on the
screen with the mouse), the screen reader does not send a keyboard
event.
So if these buttons do not have an onclick listener, (maybe the
onclick listener is on the parent element or something) the buttons
wouldn't work with screen reader.
I have an example of this coded somewhere I can throw it up on code Pen.



On 1/3/19, Jonathan Cohn < <EMAIL REMOVED> > wrote:
> Also, if you are labeling the button with off screen text this can be an
> issue with NVDA. Use aria-label instead.
>> On Jan 3, 2019, at 1:06 AM, glen walker < <EMAIL REMOVED> > wrote:
>>
>> I'm guessing you're not using a real <button> element or <input
>> type="button">. Can you post the code you are using?
>>
>> You tested NVDA on Chrome? What else have you tested? Does it work with
>> NVDA on Firefox? Does JAWS work?
>>
>>
>>
>> On Wed, Jan 2, 2019 at 10:45 PM 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.
>>> >>> >>> >>> >>>
>> >> >> >> >
> > > > >


--
Work hard. Have fun. Make history.