E-mail List Archives
Re: Keyboard navigation using arrows only
From: Sean Curtis
Date: Sep 4, 2014 3:08PM
- Next message: Sean Curtis: "Re: Keyboard navigation using arrows only"
- Previous message: Joey G.: "Re: ARIA controls"
- Next message in Thread: Sean Curtis: "Re: Keyboard navigation using arrows only"
- Previous message in Thread: Wyant, Jay (MNIT): "Re: Keyboard navigation using arrows only"
- View all messages in this Thread
> - publicly available, reusable pattern libraries
While this would have certainly helped get us most of the way there, it wouldn't have helped with the JavaScript. Toggling the menu via display none and then setting focus on the first item required using setTimeout (yes, I know) with a delay of about 50ms. Anything less and the screen reader wouldn't read the contents of the item. I think it has something to so with the repaint of the menu. That delay might also need to change depending on the speed of the machine (how fast it repaints). I haven't tried too many slow machines, only the old (purposely) windows laptop I have for testing.
Cheers,
Sean Curtis
- Next message: Sean Curtis: "Re: Keyboard navigation using arrows only"
- Previous message: Joey G.: "Re: ARIA controls"
- Next message in Thread: Sean Curtis: "Re: Keyboard navigation using arrows only"
- Previous message in Thread: Wyant, Jay (MNIT): "Re: Keyboard navigation using arrows only"
- View all messages in this Thread