INC-137324 · Issue 584917
Corrected tabbing focus when modal flow has 'disable when'
Resolved in Pega Version 8.5.1
While tabbing through the modal dialog, focus moved to the background screen if there were custom flow action buttons that had a 'disable when' condition. This was caused by the last focusable element being a disabled element, and has been resolved by adding a disabled check in the getLastFocusableElement method that will determine whether element is disabled, and if so it will look for other elements as disabled elements can't be focused.