fix focus for Add Groups dialog.

fixes CNVS-24876

test plan:
-as a teacher, to to an assignments page
-attempt to add group by clicking +Group button
-Focus should be set on the input field
-input field should properly read out its label
-Make sure it works properly across all screen readers

Change-Id: I199c01ce97d21e5e511355aac35ab2b0dc323246
Reviewed-on: https://gerrit.instructure.com/68671
Tested-by: Jenkins
Reviewed-by: John Corrigan <jcorrigan@instructure.com>
QA-Review: Rajkumar Kethavath <rkethavath@instructure.com>
Product-Review: Jason Sparks <jsparks@instructure.com>
This commit is contained in:
Marc Alan Phillips 2015-12-10 11:10:34 -07:00
parent 0837c148ec
commit 90ba4dc7b5
1 changed files with 1 additions and 0 deletions

View File

@ -144,5 +144,6 @@ define [
@setDimensions(this.defaults.width, SHORT_HEIGHT)
super
@$el.find("input:first").focus()
@checkGroupWeight()
@getNeverDrops()