Closed Bug 1817911 Opened 1 year ago Closed 1 year ago

Implement a consistent and expected keyboard navigation for the unified toolbar

Categories

(Thunderbird :: Toolbars and Tabs, task, P2)

Thunderbird 112

Tracking

(thunderbird_esr102 unaffected, thunderbird115 fixed, thunderbird116 fixed)

RESOLVED FIXED
116 Branch
Tracking Status
thunderbird_esr102 --- unaffected
thunderbird115 --- fixed
thunderbird116 --- fixed

People

(Reporter: aleca, Assigned: freaktechnik)

References

(Blocks 2 open bugs)

Details

(Keywords: access, Whiteboard: [Supernova3p])

Attachments

(1 file)

Thanks to the work on this method we have a good F6 focus cycle in the mail Tab.

In the unified toolbar, the focus lands on the search bar if present, otherwise it searches the first available button.

At this moment, pressing TAB moves the focus to the next available widget, or moves tot he folder pane if none are left.
We should define and improve this behaviour and create expected stops and a navigation aids.

Proposal

If the focus is on the Search Bar:

  • Pressing TAB should move the focus to the first button after the search bar.
  • Pressing TAB again should move the focus to the App Menu.
  • If not buttons are available after the search bar, the focus should move the App Menu (we always have an App Menu).

If the focus is on the Search Bar:

  • Pressing SHIFT+TAB should move the focus to the first button BEFORE the search bar.
  • Pressing SHIFT+TAB again should move the focus to the first button of the spaces toolbar, or the spaces pin button.
  • If there are no buttons before the search bar, the focus is moved directly to the spaces toolbar, or the spaces pin button.

When the focus is on one of the buttons:

  • Pressing ArrowRight or ArrowLeft will cycle the focus on those buttons without breaking outside.

Add [Supernova] to Whiteboard 20230222_1327

Whiteboard: [Supernova]
See Also: → 1795360
Whiteboard: [Supernova] → [Supernova3p]

Alex, do you envision this to be post 115 work?

Flags: needinfo?(alessandro)

Hard to say, probably.
We have an initial implementation of toolbar navigation in the message pane header, we need to apply the same approach on all other toolbars.
It could happen this month.

Flags: needinfo?(alessandro)
Keywords: access
Duplicate of this bug: 1835495

We started implementing the toolbar navigation pattern in some areas.
We should extract those implementation and create a reusable component to apply here.

The unified toolbar is a bit more unique and it needs a bit more fine tuning to properly identify the toolbar navigation areas.

Assignee: nobody → micah
Severity: -- → N/A
Priority: -- → P2
Assignee: micah → martin
Target Milestone: --- → 116 Branch
Status: NEW → ASSIGNED

Pushed by elizabeth@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/cffd98d55488
Add local keyboard navigation to unified toolbar. r=aleca

Comment on attachment 9339602 [details]
Bug 1817911 - Add local keyboard navigation to unified toolbar. r=#thunderbird-front-end-reviewers

[Approval Request Comment]
Regression caused by (bug #):
User impact if declined: Every active button in the unified toolbar has to be cycled through with tab
Testing completed (on c-c, etc.): Manual testing
Risk to taking this patch (and alternatives if risky): This is a fairly complicated patch, though all it should affect is the keyboard focusability of things in the unified toolbar. So maybe barely low?

Attachment #9339602 - Flags: approval-comm-beta?

Comment on attachment 9339602 [details]
Bug 1817911 - Add local keyboard navigation to unified toolbar. r=#thunderbird-front-end-reviewers

[Triage Comment]
approved for beta

Attachment #9339602 - Flags: approval-comm-beta? → approval-comm-beta+

Closing here for now, will file a follow up to split the navigation into two groups.

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Keywords: leave-open
Resolution: --- → FIXED
Blocks: 1840794
Regressions: 1841410
Regressions: 1878543
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: