openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r1560526 - /openoffice/ooo-site/trunk/content/download/index.html
Date Wed, 22 Jan 2014 21:49:25 GMT
Author: marcus
Date: Wed Jan 22 21:49:25 2014
New Revision: 1560526

URL: http://svn.apache.org/r1560526
Log:
A11Y fixes: Added a h1 tag with text that will not be displayed

Modified:
    openoffice/ooo-site/trunk/content/download/index.html

Modified: openoffice/ooo-site/trunk/content/download/index.html
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/index.html?rev=1560526&r1=1560525&r2=1560526&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/index.html (original)
+++ openoffice/ooo-site/trunk/content/download/index.html Wed Jan 22 21:49:25 2014
@@ -42,6 +42,10 @@
 
 <body>
 
+<!-- The text in the H1 tag is intentionally shown as not displayable, just to please
accessibility tools like a
+screen reader. -->
+<h1 style="display: none;">Apache OpenOffice</h1>
+
 <div class="optionset">
 
   <!-- Green: Stable release -->
@@ -58,10 +62,10 @@
       document.write( "<div class=\"first button green\" id=\"optionitem1\" onclick=\"openItem('optionitem1','"
       + LINK + "');" + "return false;\">" );
       document.write( "<h2><a href='" + LINK + "' title='Version " + VERSION + "
| Milestone " + MILESTONE
-      + " | Build ID " + BUILD + " | SVN " + SVN_REV + " | Date " + DATE + "'>"
+      + " | Build ID " + BUILD + " | SVN " + SVN_REV + " | Release date " + DATE + "'>"
       + "Download Apache OpenOffice " + VERSION + "</a></h2>"
       + "<p><a href='" + LINK + "' title='Version " + VERSION + " | Milestone "
+ MILESTONE + " | Build ID " + BUILD
-      + " | SVN " + SVN_REV + " | Date " + DATE + "'>Click here for the most recent version
for:<br />"
+      + " | SVN " + SVN_REV + " | Release date " + DATE + "'>Click here for the most recent
version for:<br />"
       + "<b>" + UI_PLATFORM + "</b> and <b>" + LANG_ARRAY[ 2 ] + "</b>
| ~" + FILESIZE + " MByte | Released: "
       + DATE + "<br /></a></p>" );
     } else {



Mime
View raw message