Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Update toggle button and focus state #203

Merged
merged 1 commit into from
Nov 16, 2022

Conversation

juliewongbandue
Copy link
Collaborator

@juliewongbandue juliewongbandue commented Nov 16, 2022

What this PR does

Updates the focus state for the menu item

How it does that

Adds a isKeyboardOnly prop to the component and adds a :focus-visible or :focus pseudo selector.

Testing

Collapsible menu
Complex implementation
Confirm that tabbing/clicking focus states work as expected.

@juliewongbandue juliewongbandue marked this pull request as ready for review November 16, 2022 19:47
@juliewongbandue juliewongbandue requested review from a team as code owners November 16, 2022 19:47
@juliewongbandue juliewongbandue force-pushed the UXE-94-menu-focus-state-2 branch 4 times, most recently from 7654cfa to d50dcfc Compare November 16, 2022 22:33
@juliewongbandue juliewongbandue force-pushed the UXE-94-menu-focus-state-2 branch from d50dcfc to 2799668 Compare November 16, 2022 23:08
@juliewongbandue juliewongbandue merged commit 6743514 into main Nov 16, 2022
@juliewongbandue juliewongbandue deleted the UXE-94-menu-focus-state-2 branch November 16, 2022 23:53
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants