Bug 1621287 - Use on the <hbox> statusbar role="status" to make it accessible. r=mkmelin a=wsmwk
authorRichard Marti <richard.marti@gmail.com>
Thu, 12 Mar 2020 15:44:27 +0100
changeset 36152 40ad5a91482eb2692c72057d9fa8a935103d3989
parent 36151 4d80628c2446aa3e45f01f7474c52efd775d1f8c
child 36153 c818183a870f552bbccf0c95ace002e70187072b
push id97
push userthunderbird@calypsoblue.org
push dateTue, 07 Apr 2020 16:09:32 +0000
treeherdercomm-esr68@f7099fd16d6f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmkmelin, wsmwk
bugs1621287
Bug 1621287 - Use on the <hbox> statusbar role="status" to make it accessible. r=mkmelin a=wsmwk
calendar/base/content/dialogs/calendar-event-dialog.xul
chat/content/browserRequest.xul
mail/base/content/ABSearchDialog.xul
mail/base/content/FilterListDialog.xul
mail/base/content/SearchDialog.xul
mail/base/content/messageWindow.xul
mail/base/content/messenger.xul
mail/components/addrbook/content/addressbook.xul
mail/components/compose/content/messengercompose.xul
--- a/calendar/base/content/dialogs/calendar-event-dialog.xul
+++ b/calendar/base/content/dialogs/calendar-event-dialog.xul
@@ -577,17 +577,17 @@
              defaultlabelalign="end"
              context="event-dialog-toolbar-context-menu"
              defaultset="button-saveandclose,button-attendees,button-privacy,button-url,button-delete"/>
     <toolbarset id="custom-toolbars" context="event-dialog-toolbar-context-menu"/>
   </toolbox>
 
   <!-- the iframe is inserted here dynamically in the "load" handler function -->
 
-  <hbox id="status-bar" class="statusbar chromeclass-status">
+  <hbox id="status-bar" class="statusbar chromeclass-status" role="status">
     <hbox id="status-privacy"
           class="statusbarpanel"
           align="center"
           flex="1"
           collapsed="true"
           pack="start">
       <label value="&event.statusbarpanel.privacy.label;"/>
       <hbox id="status-privacy-public-box" privacy="PUBLIC">
--- a/chat/content/browserRequest.xul
+++ b/chat/content/browserRequest.xul
@@ -27,17 +27,17 @@
   <hbox id="header">
     <image id="headerImage" src="chrome://chat/skin/prpl-generic/icon32.png"/>
     <vbox>
     <label id="headerLabel"/>
     <description id="headerMessage"/>
     </vbox>
   </hbox>
   <browser type="content" src="about:blank" id="requestFrame" flex="1"/>
-  <hbox class="statusbar">
+  <hbox class="statusbar" role="status">
     <statusbarpanel id="security-display" crop="end" flex="1"/>
     <statusbarpanel id="security-status" crop="end" collapsed="true"/>
     <hbox id="statusbar-status" class="statusbarpanel statusbarpanel-progress" collapsed="true">
       <html:progress class="progressmeter-statusbar" id="statusbar-icon" value="0" max="100"/>
     </hbox>
     <statusbarpanel id="security-button" class="statusbarpanel-iconic"/>
   </hbox>
 </window>
--- a/mail/base/content/ABSearchDialog.xul
+++ b/mail/base/content/ABSearchDialog.xul
@@ -178,16 +178,16 @@
                 accesskey="&composeButton.accesskey;"
                 command="cmd_compose"/>
         <button label="&deleteCardButton.label;"
                 accesskey="&deleteCardButton.accesskey;"
                 command="cmd_deleteCard"/>
       </hbox>
     </vbox>
 
-  <hbox id="status-bar" class="statusbar chromeclass-status">
+  <hbox id="status-bar" class="statusbar chromeclass-status" role="status">
     <statusbarpanel id="statusText" crop="right" flex="1"/>
     <hbox id="statusbar-progresspanel" class="statusbarpanel statusbarpanel-progress">
       <html:progress class="progressmeter-statusbar" id="statusbar-icon" value="0" max="100"/>
     </hbox>
   </hbox>
 
 </window>
--- a/mail/base/content/FilterListDialog.xul
+++ b/mail/base/content/FilterListDialog.xul
@@ -154,17 +154,17 @@
                 accesskey="&viewLogButton.accesskey;"
                 oncommand="viewLog();"/>
       </vbox>
     </vbox>
   </hbox>
 
   <separator class="thin"/>
 
-  <hbox id="status-bar" class="statusbar chromeclass-status">
+  <hbox id="status-bar" class="statusbar chromeclass-status" role="status">
     <statusbarpanel id="statusText" flex="1" crop="right"/>
     <hbox id="statusbar-progresspanel" class="statusbarpanel statusbarpanel-progress" collapsed="true">
       <html:progress class="progressmeter-statusbar" id="statusbar-icon" value="0" max="100"/>
     </hbox>
   </hbox>
 
 </window>
 
--- a/mail/base/content/SearchDialog.xul
+++ b/mail/base/content/SearchDialog.xul
@@ -138,16 +138,16 @@
 
       <button label="&deleteButton.label;" id="deleteButton" command="button_delete" accesskey="&deleteButton.accesskey;"/>
       <button label="&openInFolder.label;" id="openInFolderButton" command="open_in_folder_button" accesskey="&openInFolder.accesskey;" />
       <button label="&saveAsVFButton.label;" id="saveAsVFButton" command="saveas_vf_button" accesskey="&saveAsVFButton.accesskey;" />
       <spacer flex="1" />
     </hbox>
   </vbox>
 
-  <hbox id="status-bar" class="statusbar chromeclass-status">
+  <hbox id="status-bar" class="statusbar chromeclass-status" role="status">
     <statusbarpanel id="statusText" crop="right" flex="1"/>
     <hbox id="statusbar-progresspanel" class="statusbarpanel statusbarpanel-progress" collapsed="true">
       <html:progress class="progressmeter-statusbar" id="statusbar-icon" value="0" max="100"/>
     </hbox>
   </hbox>
 
 </window>
--- a/mail/base/content/messageWindow.xul
+++ b/mail/base/content/messageWindow.xul
@@ -230,12 +230,12 @@
     </vbox>
   </hbox>
   <panel id="customizeToolbarSheetPopup" noautohide="true">
     <iframe id="customizeToolbarSheetIFrame"
             style="&dialog.dimensions;"
             hidden="true"/>
   </panel>
 
-  <hbox id="status-bar" class="statusbar chromeclass-status">
+  <hbox id="status-bar" class="statusbar chromeclass-status" role="status">
 #include mainStatusbar.inc.xul
   </hbox>
 </window>
--- a/mail/base/content/messenger.xul
+++ b/mail/base/content/messenger.xul
@@ -739,15 +739,15 @@
             style="&dialog.dimensions;"
             hidden="true"/>
   </panel>
 
   <hbox id="messenger-notification-bottom">
       <!-- notificationbox will be added here lazily. -->
   </hbox>
   <statuspanel id="statusbar-display"/>
-  <hbox id="status-bar" class="statusbar chromeclass-status">
+  <hbox id="status-bar" class="statusbar chromeclass-status" role="status">
 #include mainStatusbar.inc.xul
     <statusbarpanel id="unreadMessageCount"/>
     <statusbarpanel id="totalMessageCount"/>
   </hbox>
 </window>
 
--- a/mail/components/addrbook/content/addressbook.xul
+++ b/mail/components/addrbook/content/addressbook.xul
@@ -942,12 +942,12 @@
     </vbox>
   </hbox>
   <panel id="customizeToolbarSheetPopup" noautohide="true">
     <iframe id="customizeToolbarSheetIFrame"
             style="&dialog.dimensions;"
             hidden="true"/>
   </panel>
 
-  <statusbar id="status-bar" class="statusbar chromeclass-status">
+  <hbox id="status-bar" class="statusbar chromeclass-status" role="status">
     <statusbarpanel id="statusText" flex="1" value="&statusText.label;"/>
-  </statusbar>
+  </hbox>
 </window>
--- a/mail/components/compose/content/messengercompose.xul
+++ b/mail/components/compose/content/messengercompose.xul
@@ -2149,17 +2149,17 @@
             style="&dialog.dimensions;"
             hidden="true"/>
   </panel>
 
   <hbox id="compose-notification-bottom">
     <!-- notificationbox will be added here lazily. -->
   </hbox>
 
-  <hbox id="status-bar" class="statusbar chromeclass-status">
+  <hbox id="status-bar" class="statusbar chromeclass-status" role="status">
     <statusbarpanel id="statusText" flex="1"/>
     <hbox id="statusbar-progresspanel"
           class="statusbarpanel statusbarpanel-progress"
           collapsed="true">
       <html:progress id="compose-progressmeter" class="progressmeter-statusbar" value="0" max="100"/>
     </hbox>
     <hbox id="signing-status"
           class="statusbarpanel statusbarpanel-iconic"