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

Switching tabs resets keyboard/screen reader focus #789

Open
dcalhoun opened this issue Jan 8, 2025 · 2 comments
Open

Switching tabs resets keyboard/screen reader focus #789

dcalhoun opened this issue Jan 8, 2025 · 2 comments
Labels
Needs triage Ticket needs to be triaged [Pri] Low [Status] Auto-allocated [Type] Bug Something isn't working

Comments

@dcalhoun
Copy link
Member

dcalhoun commented Jan 8, 2025

Quick summary

When relying upon a keyboard or screen reader to navigate the app, focus is reset when switching the active tab.

Screen recording

Screen.Recording.2025-01-08.at.09.18.36.mov

Steps to reproduce

Keyboard

  1. Launch Studio.
  2. Press Tab to move focus to the tabs—Overview, Sync, Share, etc.
  3. Press the right arrow key to change the active tab.
  4. Press the right arrow key again.

Screen reader

  1. Enable VoiceOver.
  2. Launch Studio.
  3. Move selection to one of the inactive tabs—Overview, Sync, Share, etc—via pressing Ctrl+Option+[Arrow key].
  4. Activate the tab via Control+Option+Space.
  5. Repeat step three.

What you expected to happen

Keyboard: The subsquent tab is activated.

Screen reader: Selection is moved to the targeted tab.

What actually happened

Keyboard: The active tab is not changed.

Screen reader: Selection is not present within the tabs.

Impact

Some (< 50%)

Available workarounds?

Yes, easy to implement

Platform

Mac Silicon

Logs or notes

I imagine an unexpected or unnecessary re-render is resulting in loss of focus, potentially from re-mounting the component.

Copy link

github-actions bot commented Jan 8, 2025

This issue could use some more labels, to help prioritize and categorize our work. Could you please add at least a [Type], a [Feature], and a [Pri] label?

@supernovia supernovia moved this from Needs Triage to Triaged in Automattic Prioritization: The One Board ™ Jan 16, 2025
@supernovia
Copy link

📌 REPRODUCTION RESULTS

  • Tested – Replicated

📌 FINDINGS/SCREENSHOTS/VIDEO
Replicated on current version

📌 ACTIONS

  • Triaged
  • Assigned to Yolo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs triage Ticket needs to be triaged [Pri] Low [Status] Auto-allocated [Type] Bug Something isn't working
Projects
Development

No branches or pull requests

3 participants