Bug 302554. Fix accessibility problems in migration wizard (import). r+a=mconnor

This commit is contained in:
aaronleventhal%moonset.net 2005-08-04 21:32:13 +00:00
Родитель c03c84d0b6
Коммит 9dc51be4c5
1 изменённых файлов: 16 добавлений и 11 удалений

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

@ -45,7 +45,9 @@
onload="MigrationWizard.init()" onload="MigrationWizard.init()"
onunload="MigrationWizard.uninit()" onunload="MigrationWizard.uninit()"
style="width: 40em;" style="width: 40em;"
buttons="accept,cancel"> buttons="accept,cancel"
xmlns:xhtml2="http://www.w3.org/TR/xhtml2"
xmlns:wairole="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#">
<script type="application/x-javascript" src="chrome://browser/content/migration/migration.js"/> <script type="application/x-javascript" src="chrome://browser/content/migration/migration.js"/>
@ -55,11 +57,11 @@
label="&importSource.title;" label="&importSource.title;"
onpageadvanced="MigrationWizard.onImportSourcePageAdvanced();"> onpageadvanced="MigrationWizard.onImportSourcePageAdvanced();">
#ifdef XP_WIN #ifdef XP_WIN
<description id="importAll">&importFrom.label;</description> <description id="importAll" control="importSourceGroup">&importFrom.label;</description>
#else #else
<description id="importAll">&importFromUnix.label;</description> <description id="importAll" control="importSourceGroup">&importFromUnix.label;</description>
#endif #endif
<description id="importBookmarks" hidden="true">&importFromBookmarks.label;</description> <description id="importBookmarks" control="importSourceGroup" hidden="true">&importFromBookmarks.label;</description>
<radiogroup id="importSourceGroup" align="start"> <radiogroup id="importSourceGroup" align="start">
<radio id="phoenix" label="&importFromPhoenix.label;" accesskey="&importFromPhoenix.accesskey;"/> <radio id="phoenix" label="&importFromPhoenix.label;" accesskey="&importFromPhoenix.accesskey;"/>
@ -110,7 +112,7 @@
onpageshow="return MigrationWizard.onSelectProfilePageShow();" onpageshow="return MigrationWizard.onSelectProfilePageShow();"
onpagerewound="return MigrationWizard.onSelectProfilePageRewound();" onpagerewound="return MigrationWizard.onSelectProfilePageRewound();"
onpageadvanced="return MigrationWizard.onSelectProfilePageAdvanced();"> onpageadvanced="return MigrationWizard.onSelectProfilePageAdvanced();">
<description>&selectProfile.label;</description> <description control="profiles">&selectProfile.label;</description>
<radiogroup id="profiles" align="left"/> <radiogroup id="profiles" align="left"/>
</wizardpage> </wizardpage>
@ -121,24 +123,27 @@
onpagerewound="return MigrationWizard.onImportItemsPageAdvanced();" onpagerewound="return MigrationWizard.onImportItemsPageAdvanced();"
onpageadvanced="return MigrationWizard.onImportItemsPageAdvanced();" onpageadvanced="return MigrationWizard.onImportItemsPageAdvanced();"
oncommand="MigrationWizard.onImportItemCommand();"> oncommand="MigrationWizard.onImportItemCommand();">
<description>&importItems.label;</description> <description control="dataSources">&importItems.label;</description>
<vbox id="dataSources" style="overflow: auto; -moz-appearance: listbox" align="left" flex="1"/> <vbox id="dataSources" style="overflow: auto; -moz-appearance: listbox" align="left" flex="1"
xhtml2:role="wairole:groupbox"/>
</wizardpage> </wizardpage>
<wizardpage id="migrating" pageid="migrating" label="&migrating.title;" <wizardpage id="migrating" pageid="migrating" label="&migrating.title;"
next="done" next="done"
onpageshow="MigrationWizard.onMigratingPageShow();"> onpageshow="MigrationWizard.onMigratingPageShow();">
<description>&migrating.label;</description> <description control="migratingItems">&migrating.label;</description>
<vbox id="migratingItems" style="overflow: auto;" align="left"/> <vbox id="migratingItems" style="overflow: auto;" align="left"
xhtml2:role="wairole:groupbox"/>
</wizardpage> </wizardpage>
<wizardpage id="done" pageid="done" label="&done.title;" <wizardpage id="done" pageid="done" label="&done.title;"
onpageshow="MigrationWizard.onDonePageShow();"> onpageshow="MigrationWizard.onDonePageShow();">
<description>&done.label;</description> <description control="doneItems">&done.label;</description>
<vbox id="doneItems" style="overflow: auto;" align="left"/> <vbox id="doneItems" style="overflow: auto;" align="left"
xhtml2:role="wairole:groupbox"/>
</wizardpage> </wizardpage>
</wizard> </wizard>