Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Menu items lack proper highlighting when accessed via keyboard #963

@johannao76

Description

@johannao76

Bug Report

Steps

When accessing menu items via the keyboard, we only show the background highlighting for the item, only for unselected items. This may not be enough for accessibility, particularly for the selected item, as there is no indication that the item is currently focused.

Repro (use provided sample under the Tescase section):

  • Load the sample in the Testcase section below
  • Notice that the button has the focus and shows a nice box around it
  • Shift+Tab to focus on the first item in the menu

Expected Result

  • First menu item should have a box around it indicating it is focused

Actual Result

  • No indication that the first item is focused.

Version

0.21.1

Testcase

https://codesandbox.io/s/2vzw3k7q5j

Metadata

Metadata

Assignees

No one assigned

    Labels

    vstsPaired with ticket in vsts

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions