#15157 closed bug (fixed)
Can focus menu dividers with the keyboard
Reported by: | klmcdorm | Owned by: | Scott González |
---|---|---|---|
Priority: | minor | Milestone: | 1.12.2 |
Component: | ui.menu | Version: | 1.12.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
jsFiddle:https://jsfiddle.net/bmu3k2w3/2/
If a menu has a divider as the first or last item, it can be focused using the keyboard.
Reproduction steps:
- Click on the input box and press Tab to focus on the menu.
- Move focus to the last menu item by pressing the down arrow key.
- Try to move focus back to the first menu item by pressing down again.
- Focus moves to the divider before the first item instead. In the menu's focus event, ui.item is the divider.
This also happens when moving up from the first item, or when using Page Up or Page Down.
Tested on Windows 7 with Chrome 56.0.2924.87, Firefox 52.0.1, and Internet Explorer 11.0.9600.18537.
Change History (4)
comment:1 Changed 6 years ago by
comment:2 Changed 6 years ago by
Status: | new → open |
---|
comment:3 Changed 6 years ago by
Owner: | set to Scott González |
---|---|
Resolution: | → fixed |
Status: | open → closed |
In a3e953b:
comment:4 Changed 6 years ago by
Milestone: | none → 1.12.2 |
---|
Note: See
TracTickets for help on using
tickets.
https://github.com/jquery/jquery-ui/pull/1804