Skip to content

Pressing <tab> after one clicks on an item that reveals a menu should focus the menu #20829

@jsoref

Description

@jsoref

Summary

Pressing <tab> after one clicks on an item that reveals a menu should focus the menu

Motivation

image

It'd be really nice if my <tab> focus was at the box so <tab> would take me to [Details]

I'm trying to delete dozens of pods

Proposal

How do you think this should be implemented?

Use a focus() call or whatever when opening a menu to ensure that the thing that's focused is one tab stop before the first item in the exposed menu.

For my example, the thing that ended up focused in https://cd.apps.argoproj.io/applications/argo-cd?resource=&view=pods was a dex server (an ellipsis):
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    component:uiUser interfaces bugs and enhancementsenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions