зеркало из https://github.com/mozilla/pjs.git
fix for accessibility bug #11407. the first control should have
focus when the import dialog loads. note, we will get these types of accessibility fixes for free when we switch the import dialog over to use <wizard>. (that's bug #101874) r/sr=mscott
This commit is contained in:
Родитель
019d28cef9
Коммит
75d66bdda4
|
@ -62,6 +62,12 @@ function OnLoadImportDialog()
|
|||
}
|
||||
|
||||
SetUpImportType();
|
||||
|
||||
// on startup, set the focus to the control element
|
||||
// for accessibility reasons.
|
||||
// if we used the wizardOverlay, we would get this for free.
|
||||
// see bug #101874
|
||||
document.getElementById("importFields").focus();
|
||||
}
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче