From cb390a35d637d8f74cc7103ceff60f0a1a4283fc Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 23 Apr 2020 11:50:34 +0000 Subject: [PATCH] Bug 25166: (follow-up) Update icons generated in JS This patch adds aria attributes to Font Awesome icons generated by JavaScript. The icons won't appear under normal circumstances because the code for displaying the modal dialog should replace the icons with a text label. The icons are a fallback. Signed-off-by: Martin Renvoize --- koha-tmpl/opac-tmpl/bootstrap/js/global.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/js/global.js b/koha-tmpl/opac-tmpl/bootstrap/js/global.js index 84ee7e844b..ac1bc27af9 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/js/global.js +++ b/koha-tmpl/opac-tmpl/bootstrap/js/global.js @@ -65,8 +65,8 @@ function confirmModal(message, title, yes_label, no_label, callback) { \ \ \ \ \ @@ -86,4 +86,4 @@ function confirmModal(message, title, yes_label, no_label, callback) { $("#bootstrap-confirm-box-modal-submit").text( yes_label || 'Confirm' ); $("#bootstrap-confirm-box-modal-cancel").text( no_label || 'Cancel' ); $("#bootstrap-confirm-box-modal").modal('show'); -} \ No newline at end of file +} -- 2.39.2