From 14f0272c7076cebb35efc57d1f83b3c9c82c193b Mon Sep 17 00:00:00 2001 From: Boone B Gorges Date: Wed, 18 Oct 2023 18:05:04 +0000 Subject: [PATCH] Screen reader text for 'Remove' links on Additional Faculty interface. See #3255. --- .../wds-citytech/assets/js/additional-faculty.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/wp-content/plugins/wds-citytech/assets/js/additional-faculty.js b/wp-content/plugins/wds-citytech/assets/js/additional-faculty.js index dc981b7220..5f227ffdba 100644 --- a/wp-content/plugins/wds-citytech/assets/js/additional-faculty.js +++ b/wp-content/plugins/wds-citytech/assets/js/additional-faculty.js @@ -43,10 +43,7 @@ window.wp = window.wp || {}; * Generate a user-related list item. */ function create_list_item( nicename, label ) { - var li = ''; - - li = '
  • ' + label + '
  • '; - li = '
  • ' + label + '
  • '; + var li = '
  • ' + label + ' Remove
  • '; $( '#additional-faculty-list' ).append( li ); } } @@ -94,10 +91,7 @@ window.wp = window.wp || {}; * Generate a user-related list item. */ function create_list_item( nicename, label ) { - var li = ''; - - li = '
  • ' + label + '
  • '; - li = '
  • ' + label + '
  • '; + var li = '
  • ' + label + ' Remove
  • '; $( '#primary-faculty-list' ).append( li ); } }