Skip to main content

Search and Top Navigation

#8559 closed bug (fixed)

Opened September 10, 2012 04:47AM UTC

Closed November 22, 2012 12:17AM UTC

Last modified November 22, 2012 12:19AM UTC

Button: Button doesn't remove active state when using keyboard.

Reported by: alistaircobalt Owned by: mikesherov
Priority: minor Milestone: 1.10.0
Component: ui.button Version: 1.8.23
Keywords: Cc:
Blocked by: Blocking:
Description

When the click event of the button changes focus to another element, and the button is clicked using the keyboard (ie. hitting ENTER), the button remains in the "active" state. Example below:

http://jsfiddle.net/Wtwkx/

1. Focus on the text box.

2. Use TAB to focus on the button.

3. Hit ENTER to click the button.

4. Note that "active" button state is not removed, even though focus has changed back to the text box.

Attachments (0)
Change History (6)

Changed October 11, 2012 02:43PM UTC by scottgonzalez comment:1

milestone: 1.9.01.11.0

Changed October 15, 2012 09:25PM UTC by petersendidit comment:2

status: newopen
summary: Button doesn't remove active state when using keyboard.Button: Button doesn't remove active state when using keyboard.

Changed November 20, 2012 03:44AM UTC by mikesherov comment:3

owner: → mikesherov
status: openassigned

Changed November 21, 2012 01:35PM UTC by mikesherov comment:4

Changed November 22, 2012 12:17AM UTC by Mike Sherov comment:5

resolution: → fixed
status: assignedclosed

Button: add blur event to buttons. Fixes #8559 - Button: Button doesn't remove active state when using keyboard.

Changeset: f13b5dfa7fdb480b818cfbf07e35088460e7b5c9

Changed November 22, 2012 12:19AM UTC by mikesherov comment:6

milestone: 1.11.01.10.0