diff --git a/app/assets/javascripts/keyboard_navigation.js b/app/assets/javascripts/keyboard_navigation.js index a21ddd08f90..9ba103c4534 100644 --- a/app/assets/javascripts/keyboard_navigation.js +++ b/app/assets/javascripts/keyboard_navigation.js @@ -57,7 +57,9 @@ function handleGlossaryBlur(glossaryId) { } function handleGlossaryKeydown(event, glossaryId) { - if (event.key === 'Tab') { + if (event.key === 'Tab' || event.key === 'Enter') { $("#" + glossaryId).popover('show'); + } else { + $("#" + glossaryId).popover('hide'); } } diff --git a/app/views/insured/families/_enrollment_actions.html.erb b/app/views/insured/families/_enrollment_actions.html.erb index e6d4b3a0a85..9a4fd0d4157 100644 --- a/app/views/insured/families/_enrollment_actions.html.erb +++ b/app/views/insured/families/_enrollment_actions.html.erb @@ -2,6 +2,7 @@ <% if @bs4 %>
+ <% key_index = hbx_enrollment.id %> <% unless read_only || !can_make_changes_for_enrollment %>