From 4a879718cf34ee05d21beedd7b5cb1e621e15cf5 Mon Sep 17 00:00:00 2001 From: Roy Johnson Date: Tue, 13 May 2025 16:08:38 -0500 Subject: [PATCH] CORE-977: Add labels to bootstrap editor save/cancel buttons [CORE-977] --- vendor/assets/javascripts/bootstrap-editable.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vendor/assets/javascripts/bootstrap-editable.js b/vendor/assets/javascripts/bootstrap-editable.js index 14a47467b..595bd7a7b 100755 --- a/vendor/assets/javascripts/bootstrap-editable.js +++ b/vendor/assets/javascripts/bootstrap-editable.js @@ -45,6 +45,9 @@ Editableform is linked with one of input types, e.g. 'text', 'select' etc. if(this.options.showbuttons === 'bottom') { $btn.addClass('editable-buttons-bottom'); } + // Customized by OpenStax for accessibility + $btn.find('.editable-submit').attr('aria-label', 'save'); + $btn.find('.editable-cancel').attr('aria-label', 'cancel'); }, /** Renders editableform