Bug 1134126 - add 'alt text' for the empty link using aria-label, r?jaws draft
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Tue, 26 Jan 2016 14:35:00 +0000
changeset 326717 5e2a19470b5c81741b9b22d2a31dcc011b63343a
parent 326715 f01c61b2c49270a44aa4d53c011c9b9f74447988
child 513632 0782016e6c1dcc722688b492bf5c9b792a512ec7
push id10167
push usergijskruitbosch@gmail.com
push dateThu, 28 Jan 2016 12:21:39 +0000
reviewersjaws
bugs1134126
milestone47.0a1
Bug 1134126 - add 'alt text' for the empty link using aria-label, r?jaws
browser/base/content/abouthome/aboutHome.xhtml
browser/locales/en-US/chrome/browser/aboutHome.dtd
--- a/browser/base/content/abouthome/aboutHome.xhtml
+++ b/browser/base/content/abouthome/aboutHome.xhtml
@@ -69,11 +69,12 @@
       <button class="launchButton" id="settings">&abouthome.preferencesButtonWin.label;</button>
 #else
       <button class="launchButton" id="settings">&abouthome.preferencesButtonUnix.label;</button>
 #endif
       <div id="restorePreviousSessionSeparator"/>
       <button class="launchButton" id="restorePreviousSession">&historyRestoreLastSession.label;</button>
     </div>
 
-    <a id="aboutMozilla" href="https://www.mozilla.org/about/?utm_source=about-home&amp;utm_medium=Referral"/>
+    <a id="aboutMozilla" href="https://www.mozilla.org/about/?utm_source=about-home&amp;utm_medium=Referral"
+       aria-label="&abouthome.aboutMozilla.label;"/>
   </body>
 </html>
--- a/browser/locales/en-US/chrome/browser/aboutHome.dtd
+++ b/browser/locales/en-US/chrome/browser/aboutHome.dtd
@@ -28,8 +28,13 @@
      preferences/options item on about:home on Windows -->
 <!ENTITY abouthome.preferencesButtonWin.label  "Options">
 <!-- LOCALIZATION NOTE (abouthome.preferencesButtonUnix.label): The label for the
      preferences/options item on about:home on Linux and OS X -->
 <!ENTITY abouthome.preferencesButtonUnix.label  "Preferences">
 <!ENTITY abouthome.addonsButton.label    "Add-ons">
 <!ENTITY abouthome.downloadsButton.label "Downloads">
 <!ENTITY abouthome.syncButton.label      "&syncBrand.shortName.label;">
+
+<!-- LOCALIZATION NOTE (abouthome.aboutMozilla.label): The (invisible) label for
+     the mozilla wordmark in the top-right corner that links to Mozilla's main
+     about page. -->
+<!ENTITY abouthome.aboutMozilla.label    "About Mozilla">