From 16d8baf1636dfb9120dfe41824a17466a2ba98a5 Mon Sep 17 00:00:00 2001 From: Sam Link <slink@LIBPC002> Date: Wed, 24 Jan 2018 10:34:56 -0500 Subject: [PATCH] LP#1744585: Patron summary display accessibility fix. When a patron summary contains an image of the patron, that image tag now has a null alt attribute to remove it from the flow of a screen reader. As the image provides no navigation capabilities or additional data, this is the proper way to assign an alt attribute Signed-off-by: Sam Link <slink@columbiacountyga.gov> Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org> Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org> --- Open-ILS/src/templates/staff/circ/patron/t_summary.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/staff/circ/patron/t_summary.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_summary.tt2 index b6ce3d43eb..f663db96e5 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_summary.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_summary.tt2 @@ -22,7 +22,7 @@ </div> </div> <div ng-if="patron().photo_url()" class="row"> - <div class="col-md-8 patron_photo_wrap"><img class="img-responsive img-rounded" src="{{patron().photo_url()}}" ></div> + <div class="col-md-8 patron_photo_wrap"><img class="img-responsive img-rounded" src="{{patron().photo_url()}}" alt=""></div> </div> <div class="row" ng-class="{'patron-summary-divider' : alert_penalties().length || patron().alert_message()}"> -- 2.11.0