Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NVDA does not toggle focus mode on when focus moves from within an ARIA document back to its parent interactive ARIA listitem #14495

Closed
kloots opened this issue Dec 30, 2022 · 2 comments · Fixed by #14611
Assignees
Labels
p3 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority triaged Has been triaged, issue is waiting for implementation.
Milestone

Comments

@kloots
Copy link

kloots commented Dec 30, 2022

Steps to reproduce:

This bug is a followup to issue 13357. The issue is NVDA does not toggle focus mode on when focus is moved from within an ARIA document back to an ARIA interactive list.

  1. Open the CodePen example
  2. Use tab-key navigation to move focus to the first ARIA listitem of the ARIA list representing the list of messages
  3. Observe NVDA automatically toggles focus mode on when the ARIA listitem is focused (this is thanks to the fix for issue 13357)
  4. Press tab to move focus to the button representing the message sender
  5. Observe NVDA does not toggle browse mode on despite the button being contained within an element with role="document". (This is due to issue 12896.)
  6. Press tab once more to move focus to the anchor element representing the time
  7. Observe NVDA toggles browse mode on when the anchor is focused
  8. Press shift + tab twice to move focus back to the ARIA listitem
  9. Observe NVDA does not toggle focus mode on when the ARIA listitem is focused

Actual behavior:

NVDA does not toggle focus mode on when focus moves from within an ARIA document to an interactive ARIA listitem.

Expected behavior:

NVDA should toggle focus mode on when focus moves from within an ARIA document to an interactive ARIA listitem.

System configuration

NVDA installed/portable/running from source: Installed

NVDA version: 2022.3.3

Windows version: 10

@kloots kloots changed the title NVDA does not toggle focus mode on when focus moves from within an ARIA document to an interactive list NVDA does not toggle focus mode on when focus moves from within an ARIA document back to its parent interactive ARIA listitem Dec 30, 2022
@kloots
Copy link
Author

kloots commented Dec 30, 2022

If it helps, I made a screen recording to demo this issue.

@michaelDCurran michaelDCurran self-assigned this Jan 2, 2023
@michaelDCurran michaelDCurran added triaged Has been triaged, issue is waiting for implementation. p3 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority labels Jan 2, 2023
@michaelDCurran
Copy link
Member

Just to clarify for anyone reading this: the bug is specific to when the listitem is a parent of the ARIA document. If tabbing from content inside the ARIA document to an adjacent ARIA list item that is not an ancestor, focus mode is correctly switched to automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p3 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority triaged Has been triaged, issue is waiting for implementation.
Projects
None yet
3 participants