Support Article
Initial focus after opening work objects is not consistent
SA-63864
Summary
On opening a work object initial focus is placed on either the first editable item or on the header, if no actionable item is present. The focus should be placed on the header irrespective of the type of work object opened.


Error Messages
Not Applicable.
Steps to Reproduce
- Log in to the application
- Configure work objects with editable and non-editable fields
- Use pyActionArea in the Perform Harness
- Run the flow
Root Cause
If pyActionArea is present in the Document Object Model (DOM), the focus is placed on the first editable element (input, text area, select), inside the action area if it is not a 'required' field. If such an element is not present, the focus moves to the first element of the page as determined by the browser.
Resolution
Perform the following local-change:
Use pyCaseActionArea from the UI-Kit.
Alternatively, replace pzActionAreaContent in pyCaseActionArea with the FlowActionSimple_HTML section.
Published September 13, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.