From 8a7106f574b46cb385967c141d0e2f0b856bc75e 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. --- 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.11.0