E-mail List Archives
Re: Keyboard behavior with JAWS
From: _mallory
Date: Aug 24, 2015 1:59PM
- Next message: Angela French: "making search input field accessible without a
- Previous message: Duff Johnson: "Re: Question about tagged PDF"
- Next message in Thread: pratik roy: "Re: Keyboard behavior with JAWS"
- Previous message in Thread: Jonathan Avila: "Re: Keyboard behavior with JAWS"
- View all messages in this Thread
On Mon, Aug 24, 2015 at 01:19:41PM +0100, LĂ©onie Watson wrote:
> > From: WebAIM-Forum On Behalf Of pratik roy
> > Sent: 24 August 2015 11:05
> >
> > In our webpage, we have some button elements and onclick of those
> > buttons, it is performing some action. We have used onkeypress event with
> > keycode="13" (Enter) to handle the functionality. But when I hit Enter it is
> > not even firing the event but working absolutely normal with "Alt+Enter".
>
> You don't need to use the keypress handler. When the <button> element is used with a click handler, the browser automatically handles keyboard interaction for you.
>
Unless they're fake buttons... are they?
_mallory
- Next message: Angela French: "making search input field accessible without a
- Previous message: Duff Johnson: "Re: Question about tagged PDF"
- Next message in Thread: pratik roy: "Re: Keyboard behavior with JAWS"
- Previous message in Thread: Jonathan Avila: "Re: Keyboard behavior with JAWS"
- View all messages in this Thread