bug 9397 - Error Messages hard to find for Visually Impaired Users (Accessibility) [Returning Items] {REVISION 1.1}

testing procedure:
1. Check in Invalid Item
2. See that new header has been added. "Can't Check in"

Signed-off-by: Liz Rea <liz@catalyst.net.nz>
A followup may come that makes this text invisible, but this helps accessibility a great dea, and passes validation.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Amended patch: replace "Can't Check in" with "Cannot check in" and
delete a h3 element with the same text in order to avoid duplicated
messages.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Corey Fuimaono 2013-01-16 10:48:03 +13:00 committed by Chris Cormack
parent c0c8a46be7
commit e0ffef4a84
1 changed files with 1 additions and 1 deletions

View File

@ -317,6 +317,7 @@ $(document).ready(function () {
[% IF ( errmsgloop ) %]
<div class="dialog alert">
<h5>Cannot check in</h5>
[% FOREACH errmsgloo IN errmsgloop %]
[% IF ( errmsgloo.badbarcode ) %]
<p class="problem">No item with barcode: [% errmsgloo.msg %]</p>
@ -335,7 +336,6 @@ $(document).ready(function () {
[% END %]
[% IF ( errmsgloo.withdrawn ) %]
[% IF BlockReturnOfWithdrawnItems %]
<h3>Cannot Check In</h3>
<p class="problem">Item is withdrawn. <strong>NOT CHECKED IN</strong></p>
[% ELSE %]
<p class="problem">Item is withdrawn.</p>