diff --git a/AxonIvyPortal/portal/webContent/resources/js/portal.js b/AxonIvyPortal/portal/webContent/resources/js/portal.js index 9363eb05777..0b3ff23a0c3 100644 --- a/AxonIvyPortal/portal/webContent/resources/js/portal.js +++ b/AxonIvyPortal/portal/webContent/resources/js/portal.js @@ -475,6 +475,13 @@ const quickSearchInputId = '[id="quick-global-search-component:global-search-dat const useSettingMenuId = 'a#user-settings-menu'; $(document).ready(function() { + // This function is to enhance accessibility feature for search icon + $(searchIconId).on('click', function() { + const searchInput = $('[id="global-search-component:global-search-data"]'); + if (searchInput) { + searchInput.focus(); + } + }) let focusableElements = [ $(singleDashboardId).length ? $(singleDashboardId).find('a') : $(multipleDashboardId).find('a')[0], $(processItemId).find('a'),