Skip to content

Context Menu not keyboard navigable #4

Open
@michael-hawker

Description

@michael-hawker

I noticed in Sample 3, if you make the context menu parent keyboard navigable with a link:

<div class="box" style="padding: 1em;">
    <a href="?test">Secondary click here</a>
</div>

Or just using tabindex:

<div class="box" style="padding: 1em;" tabindex="1">
            Secondary click here
</div>

It will properly open the menu using the Menu key:

image

But the keyboard focus will remain on the parent (as seen above with the blue outline) instead of moving to the first item of the context-menu when it opens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions