Bugzilla – Attachment 13091 Details for
Bug 8712
We should use WAI-ARIA guidelines to help with accessibility -OMNIBUS bug
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[DOES NOT APPLY] bug 8712 - added labels to the "Search history" and "x" links in the top frame
bug-8712---added-labels-to-the-Search-history-and-.patch (text/plain), 2.53 KB, created by
Srikanth Dhondi
on 2012-10-29 02:24:12 UTC
(
hide
)
Description:
[DOES NOT APPLY] bug 8712 - added labels to the "Search history" and "x" links in the top frame
Filename:
MIME Type:
Creator:
Srikanth Dhondi
Created:
2012-10-29 02:24:12 UTC
Size:
2.53 KB
patch
obsolete
>From 83767aa197a1dfb379e43ff7369ef86f9c1e9d28 Mon Sep 17 00:00:00 2001 >From: Srikanth Dhondi <srikanth@catalyst.net.nz> >Date: Mon, 29 Oct 2012 15:18:38 +1300 >Subject: [PATCH] bug 8712 - added labels to the "Search history" and "x" > links in the top frame > >1) Added labels to the above links to improve the accesibility. > > G131 of WAI guidelines: The objective of this technique is to ensure that the label > for any interactive component within Web content makes the component's purpose clear. > >2) Added a new class "off-left" to "opac.css" file to hide these labels from appearing on > the page. >--- > koha-tmpl/opac-tmpl/prog/en/css/opac.css | 5 +++++ > koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc | 2 +- > 2 files changed, 6 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css >index 647104e..ecf279f 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css >+++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css >@@ -2823,3 +2823,8 @@ body#opac-main #opacmainuserblockmobile { > .header-inline { > display: inline; > } >+.off-left { >+ position: absolute; >+ left: -999px; >+ width: 990px; >+} >diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc >index 4e40fb7..f8a99d2 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc >+++ b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc >@@ -8,7 +8,7 @@ > > [% END %] > [% IF ( ShowOpacRecentSearchLink ) %] >- <li><a href="/cgi-bin/koha/opac-search-history.pl" title="View your search history">Search history</a> [<a class="logout" href="/cgi-bin/koha/opac-search-history.pl?action=delete" title="Delete your search history" onclick="return confirm(_('Are you sure you want to delete your search history?'));">x</a>]</li> >+ <li><label for="view-search-history" class="off-left">View Search History</label><a href="/cgi-bin/koha/opac-search-history.pl" id="view-search-history" title="View your search history">Search history</a> [<label for="delete-search-history" class="off-left">Delete Search History</label><a class="logout" id="delete-search-history" href="/cgi-bin/koha/opac-search-history.pl?action=delete" title="Delete your search history" onclick="return confirm(_('Are you sure you want to delete your search history?'));">x</a>]</li> > [% END %] > [% IF ( loggedinusername ) %]<li><a class="logout" id="logout" href="/cgi-bin/koha/opac-main.pl?logout.x=1">Log Out</a></li>[% END %] > </ul> >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8712
:
12869
|
12871
|
12891
|
13030
|
13065
|
13088
|
13090
| 13091 |
13092
|
13093
|
13106
|
13107
|
14300
|
18784
|
18785