From aa44894d90e1e67c514d434e00ccf255d92d3905 Mon Sep 17 00:00:00 2001 From: Shane Tomlinson <stomlinson@mozilla.com> Date: Thu, 5 Jan 2012 17:28:56 +0000 Subject: [PATCH] Adding "BrowserID Home" inside of the logo anchors for i10n and accessibility. close #844 --- resources/static/css/common.css | 1 + resources/views/dialog_layout.ejs | 2 +- resources/views/layout.ejs | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/static/css/common.css b/resources/static/css/common.css index ccf7f6d4e..26f77659e 100644 --- a/resources/static/css/common.css +++ b/resources/static/css/common.css @@ -232,6 +232,7 @@ header a.home { display: block; background-position: left 4px; background-repeat: no-repeat; + text-indent: -999px; } footer { diff --git a/resources/views/dialog_layout.ejs b/resources/views/dialog_layout.ejs index f42617bdc..acb2d1f09 100644 --- a/resources/views/dialog_layout.ejs +++ b/resources/views/dialog_layout.ejs @@ -20,7 +20,7 @@ <div id="wrapper"> <header id="header" class="cf"> <ul> - <li><a class="home" target="_blank" href="/"></a></li> + <li><a class="home" target="_blank" href="/">BrowserID Home</a></li> </ul> </header> diff --git a/resources/views/layout.ejs b/resources/views/layout.ejs index 9d1b2a440..b9bee8058 100644 --- a/resources/views/layout.ejs +++ b/resources/views/layout.ejs @@ -61,7 +61,7 @@ <header id="header" class="cf"> <ul class="cf"> - <li><a class="home" href="/"></a></li> + <li><a class="home" href="/">BrowserID Home</a></li> </ul> <ul class="nav cf"> -- GitLab