From d8d6a5249b9d65ee4e9800ded9e27d9221f52507 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Thu, 10 Apr 2014 16:59:14 -0400 Subject: [PATCH] LP#1301599 Additional TPAC facets structure markup Labeling facets with

tags provides additional page structure for screen readers in the TPAC results pages. Signed-off-by: Bill Erickson Signed-off-by: Ben Shum --- Open-ILS/src/templates/opac/css/style.css.tt2 | 7 +++++++ Open-ILS/src/templates/opac/parts/result/facets.tt2 | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/opac/css/style.css.tt2 b/Open-ILS/src/templates/opac/css/style.css.tt2 index 85367aa490..84d5fa5b17 100644 --- a/Open-ILS/src/templates/opac/css/style.css.tt2 +++ b/Open-ILS/src/templates/opac/css/style.css.tt2 @@ -1048,6 +1048,13 @@ div#facet_sidebar { padding-left:12px; } +/* in this context, where h4 is primarily for structure, + avoid the normal large font and margin for h4's */ +.facet_box_temp h4 { + font-size : 100%; + margin: 0px; +} + .facet_box_temp .header a.button { float:right; padding-top:6px; diff --git a/Open-ILS/src/templates/opac/parts/result/facets.tt2 b/Open-ILS/src/templates/opac/parts/result/facets.tt2 index c4adc087a8..82d2c6f969 100644 --- a/Open-ILS/src/templates/opac/parts/result/facets.tt2 +++ b/Open-ILS/src/templates/opac/parts/result/facets.tt2 @@ -78,7 +78,7 @@ FOR facet IN sorted_facets; [% l("More") %] [% END %] -
[% facet.cmf.label %]
+

[% facet.cmf.label %]

-- 2.43.2