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:
sspitzer%netscape.com 2003-01-08 04:28:35 +00:00
Родитель 019d28cef9
Коммит 75d66bdda4
1 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -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();
}