Closed ashleemboyer closed 10 months ago
Closes #1667
The VersionSwitcher component was missing a focus indicator with keyboard navigation.
VersionSwitcher
No
This change helps fix a violation of WCAG 2.1 Success Criterion 2.4.7 Focus Visible (Level AA): "Any keyboard operable user interface has a mode of operation where the keyboard focus indicator is visible."
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Closes #1667
📝 Description
The
VersionSwitcher
component was missing a focus indicator with keyboard navigation.⛳️ Current behavior (updates)
VersionSwitcher
does not show an outlineVersionSwitcher
has no visible focus indicator when focusedVersionSwitcher
has no horizontal space after it🚀 New behavior
VersionSwitcher
always shows an outlineVersionSwitcher
shows a visible focus indicator when focusedVersionSwitcher
has horizontal space after it💣 Is this a breaking change (Yes/No):
No
📝 Additional Information
This change helps fix a violation of WCAG 2.1 Success Criterion 2.4.7 Focus Visible (Level AA): "Any keyboard operable user interface has a mode of operation where the keyboard focus indicator is visible."