Action Performed:
Prerequisite:
- Using Windows + Chrome, open https://new.expensify.com
- Navigate using TAB and press enter to open one of the flows below:
- Track Distance (expense creation → Distance)
- A flow opened from within a Chat (e.g. the '+' / create menu in a report)
- Navigate to the 'Back' button using TAB, press enter to activate
- Observe the focus behavior
Affected locations (Expense / Chat flows):
- Track Distance (occurrence
#41 in parent issue)
- Chat flow (occurrence
#48 in parent issue)
Expected Result:
When the user activates the 'Back' button, focus should return to the element that triggered the navigation, ensuring a predictable and logical focus order. Since these flows are opened from expanded content, focus should return to the control that opened that content.
Actual Result:
When the user activates the 'Back' button, focus is lost and does not return to the triggering element. Users must hit TAB again to regain focus, which is set to the first element of the page, forcing them to re-navigate through the content.
Failed WCAG checkpoints
WCAG 2.4.3 Focus Order
https://www.w3.org/WAI/WCAG22/Understanding/focus-order
User impact:
People with mobility impairments who rely on keyboard access benefit from a logical, usable focus order. People with vision impairments can become disoriented when tabbing takes focus somewhere unexpected or when they cannot easily find the content surrounding an interactive element.
Suggested resolution:
Programmatically set focus back to the triggering element after the user returns to the previous view using the Back button. For flows opened from expanded content, restore focus to the control that opened that content.
Environment(s)
Windows 10 - Chrome
Notes
Split out from parent issue #76921 (still reproducible occurrences, grouped by location).
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @Krishna2323
Action Performed:
Prerequisite:
Affected locations (Expense / Chat flows):
#41in parent issue)#48in parent issue)Expected Result:
When the user activates the 'Back' button, focus should return to the element that triggered the navigation, ensuring a predictable and logical focus order. Since these flows are opened from expanded content, focus should return to the control that opened that content.
Actual Result:
When the user activates the 'Back' button, focus is lost and does not return to the triggering element. Users must hit TAB again to regain focus, which is set to the first element of the page, forcing them to re-navigate through the content.
Failed WCAG checkpoints
WCAG 2.4.3 Focus Order
https://www.w3.org/WAI/WCAG22/Understanding/focus-order
User impact:
People with mobility impairments who rely on keyboard access benefit from a logical, usable focus order. People with vision impairments can become disoriented when tabbing takes focus somewhere unexpected or when they cannot easily find the content surrounding an interactive element.
Suggested resolution:
Programmatically set focus back to the triggering element after the user returns to the previous view using the Back button. For flows opened from expanded content, restore focus to the control that opened that content.
Environment(s)
Windows 10 - Chrome
Notes
Split out from parent issue #76921 (still reproducible occurrences, grouped by location).
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @Krishna2323