Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

fix(datepicker): focus input on keyboard selection in popup #4409

Closed
wants to merge 1 commit into from

Conversation

stereocilia
Copy link
Contributor

removed the focusElement() call from keydown handler so that the popup control is not focused after selecting a date with the keyboard. instead, the focus stays with the input, as called from dateSelected()

removed the focusElement call from keydown handler so that the control is not focused after selecting a date with the keyboard.
@wesleycho
Copy link
Contributor

Looking at an accessibility example here, it looks like this agrees with the example, which is desired.

This LGTM.

@wesleycho wesleycho added this to the 0.14.0 (Bootstrap 3.3) milestone Sep 14, 2015
@wesleycho wesleycho closed this in 36ecf60 Sep 14, 2015
jasonaden pushed a commit to deskfed/bootstrap that referenced this pull request Jan 8, 2016
BREAKING CHANGE:

Removes focus on datepicker on selection of a date via keyboard for accessibility reasons

Closes angular-ui#4409
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants