-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 9.12.2
-
Component/s: Accessibility
-
9.12
-
Severity 3 - Minor
Issue Summary
focus moves inappropriately to the top of the page instead of moving to the form field with an error message.
Steps to Reproduce
- Open the "View Issue" page.
- Navigate to the "Edit Summary" button present in the main content area and activate it.
- Keep the mentioned form field empty and activate the "Save" button.
- Observe that focus moves to the top of the page
Screen Recording
Screen Recording 2024-08-21 at 4.53.04 PM.mov![]()
Actual Results
When users submit the "Summary" form field empty, error messages such as "You must specify a summary of the issue" get dynamically displayed below the form field and focus moves inappropriately to the top of the page instead of moving on the form field with an error message.
As a result, keyboard-only and screen reader users will have to navigate the screen content again before accessing the content which is after the triggering button.
Expected Results
Set focus on the "Summary" form field with error using the JavaScript .focus() method as soon as the form is submitted.
Workaround
Currently, there is no known workaround for this behaviour.