Bug 420733 - Fix a couple instances of aaa:labelledby usage for accessibility, patch=marco.zehe, r=aaronlev, mano, a=dsicore
authorsurkov.alexander@gmail.com
Fri, 07 Mar 2008 17:07:48 -0800
changeset 12762 95c328530d28f7f757d5475d9e799f66451c2d4a
parent 12761 e50fa8b06bc3849aec1ddef7816e8179381456ca
child 12763 e29bb45cdb9a6d936c97a2122e3e5d0fc3d247bc
push idunknown
push userunknown
push dateunknown
reviewersaaronlev, mano, dsicore
bugs420733
milestone1.9b5pre
Bug 420733 - Fix a couple instances of aaa:labelledby usage for accessibility, patch=marco.zehe, r=aaronlev, mano, a=dsicore
browser/components/preferences/main.xul
browser/components/preferences/privacy.xul
--- a/browser/components/preferences/main.xul
+++ b/browser/components/preferences/main.xul
@@ -153,18 +153,17 @@
 
       <radiogroup id="saveWhere"
                   preference="browser.download.useDownloadDir"
                   onsyncfrompreference="return gMainPane.readUseDownloadDir();">
         <hbox id="saveToRow">
           <radio id="saveTo" value="true"
                  label="&saveTo.label;"
                  accesskey="&saveTo.accesskey;"
-                 xmlns:aaa="http://www.w3.org/2005/07/aaa"
-                 aaa:labelledby="saveTo downloadFolder"/>
+                 aria-labelledby="saveTo downloadFolder"/>
           <filefield id="downloadFolder" flex="1"
                      preference="browser.download.folderList"
                      preference-editable="true"
                      onsyncfrompreference="return gMainPane.displayDownloadDirPref();"
                      onsynctopreference="return gMainPane.getFolderListPref()"/>
           <button id="chooseFolder" oncommand="gMainPane.chooseFolder();"
 #ifdef XP_MACOSX
                   accesskey="&chooseFolderMac.accesskey;"
--- a/browser/components/preferences/privacy.xul
+++ b/browser/components/preferences/privacy.xul
@@ -96,28 +96,27 @@
 
     </preferences>
     
     <stringbundle id="bundlePreferences" src="chrome://browser/locale/preferences/preferences.properties"/>
     
     <script type="application/x-javascript" src="chrome://browser/content/preferences/privacy.js"/>
 
     <!-- History -->
-    <groupbox id="historyGroup"
-              xmlns:aaa="http://www.w3.org/2005/07/aaa">
+    <groupbox id="historyGroup">
       <caption label="&history.label;"/>
 
       <hbox align="center">
         <checkbox id="rememberHistoryDays"
                   label="&rememberDaysBefore.label;"
                   accesskey="&rememberDaysBefore.accesskey;"
                   oncommand="gPrivacyPane.onchangeHistoryDaysCheck();"
-                  aaa:labelledby="rememberHistoryDays historyDays rememberAfter"/>
+                  aria-labelledby="rememberHistoryDays historyDays rememberAfter"/>
         <textbox id="historyDays" type="number" size="3"
-                 aaa:labelledby="rememberHistoryDays historyDays rememberAfter"
+                 aria-labelledby="rememberHistoryDays historyDays rememberAfter"
                  onkeyup="gPrivacyPane.onkeyupHistoryDaysText();"
                  preference="browser.history_expire_days_min"/>
         <label id="rememberAfter"> &rememberDaysAfter.label;</label>
       </hbox>
       <checkbox id="rememberForms"
                 label="&rememberForms.label;"
                 accesskey="&rememberForms.accesskey;"
                 preference="browser.formfill.enable"/>