aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2009-04-23 12:34:45 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2009-04-23 12:34:45 +0000
commitc33550702748ee411cbd3f15a8bb98eba0011aa5 (patch)
treebe5cd259281787bb442170ecfa386956234f291c
parent696aff3169f105d6c5adf2583d27cd58f955e993 (diff)
downloadforums-c33550702748ee411cbd3f15a8bb98eba0011aa5.tar
forums-c33550702748ee411cbd3f15a8bb98eba0011aa5.tar.gz
forums-c33550702748ee411cbd3f15a8bb98eba0011aa5.tar.bz2
forums-c33550702748ee411cbd3f15a8bb98eba0011aa5.tar.xz
forums-c33550702748ee411cbd3f15a8bb98eba0011aa5.zip
Make sure additional information for accessibility is always exposed to screen readers (Bug #44335 - patch by MarcoZ)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9481 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/docs/CHANGELOG.html1
-rw-r--r--phpBB/styles/prosilver/template/overall_header.html2
-rw-r--r--phpBB/styles/prosilver/theme/content.css4
-rw-r--r--phpBB/styles/prosilver/theme/links.css7
4 files changed, 12 insertions, 2 deletions
diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html
index b0d1ee66be..41ecda5efa 100644
--- a/phpBB/docs/CHANGELOG.html
+++ b/phpBB/docs/CHANGELOG.html
@@ -144,6 +144,7 @@
<li>[Fix] Do not create thumbnail if thumbnail would've the same size as the original image. (Bug #30725)</li>
<li>[Fix] Ability to vote in poll is now required for the ability to change existing vote. (Bug #38925)</li>
<li>[Fix] Search for 'topic title only' and 'first post' should work again for non-mysql dbms. (Bug #40605)</li>
+ <li>[Fix] Make sure additional information for accessibility is always exposed to screen readers (Bug #44335 - patch by MarcoZ)</li>
<li>[Change] Default difference view is now 'inline' instead of 'side by side'</li>
<li>[Change] Added new option for merging differences to conflicting files in automatic updater</li>
<li>[Change] Add link to user profile in the MCP for user notes and warn user.</li>
diff --git a/phpBB/styles/prosilver/template/overall_header.html b/phpBB/styles/prosilver/template/overall_header.html
index 21d536d4b3..44158c56c7 100644
--- a/phpBB/styles/prosilver/template/overall_header.html
+++ b/phpBB/styles/prosilver/template/overall_header.html
@@ -102,7 +102,7 @@
<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
<h1>{SITENAME}</h1>
<p>{SITE_DESCRIPTION}</p>
- <p style="display: none;"><a href="#start_here">{L_SKIP}</a></p>
+ <p class="skiplink"><a href="#start_here">{L_SKIP}</a></p>
</div>
<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
diff --git a/phpBB/styles/prosilver/theme/content.css b/phpBB/styles/prosilver/theme/content.css
index b6d3efa8a3..19f5dfdb3b 100644
--- a/phpBB/styles/prosilver/theme/content.css
+++ b/phpBB/styles/prosilver/theme/content.css
@@ -44,7 +44,9 @@ ul.topiclist dd {
ul.topiclist dfn {
/* Labels for post/view counts */
- display: none;
+ position: absolute;
+ left: -999px;
+ width: 990px;
}
ul.topiclist li.row dt a.subforum {
diff --git a/phpBB/styles/prosilver/theme/links.css b/phpBB/styles/prosilver/theme/links.css
index 9f3b7e3ae7..0b23449bfb 100644
--- a/phpBB/styles/prosilver/theme/links.css
+++ b/phpBB/styles/prosilver/theme/links.css
@@ -198,3 +198,10 @@ a.right:hover {
text-decoration: none;
background-position: 100% 60%;
}
+
+/* invisible skip link, used for accessibility */
+.skiplink {
+ position: absolute;
+ left: -999px;
+ width: 990px;
+}