Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Presets Panel: Keyboard Access Not Provided for Icon Links #5451

Open
derekjackson-das opened this issue Jan 24, 2025 · 0 comments
Open

Presets Panel: Keyboard Access Not Provided for Icon Links #5451

derekjackson-das opened this issue Jan 24, 2025 · 0 comments
Labels
a11y Accessibility

Comments

@derekjackson-das
Copy link
Collaborator

derekjackson-das commented Jan 24, 2025

Issue Description

The icon links that are revealed on hover are not accessible via keyboard or screen readers. This creates a barrier for users who rely on assistive technologies or keyboard navigation.

Related to:

Derived from #5187 .

WCAG Criteria

1.3.1 Info and Relationships - A

Notes

The simplest solution, which is a small change to the UI:

  • Remove the hover effect so that the icons are persistent.
  • Once the icons are always visible, they can then be reached with the keyboard.

Screenshot or Screen Recording

buttons inaccessible to keyboard Screenshot or Screen Recording

Persistent icons demo - Screen Recording

Relevant Code

<div role="option" aria-selected="false" aria-label="New Preset:" data-testid="preset-item-[object Object]" class="group m-1.5 flex cursor-pointer gap-2 rounded px-5 py-2.5 !pr-3 text-sm !opacity-100 hover:bg-black/5 focus:ring-0 radix-disabled:pointer-events-none radix-disabled:opacity-50 dark:hover:bg-gray-600 md:min-w-[240px]" tabindex="0" data-flip-config="{&quot;translate&quot;:true,&quot;scale&quot;:true,&quot;opacity&quot;:true}" data-flip-id="34632e96-3612-4052-87f7-dabf463a2af5" data-portal-key="portal">
@derekjackson-das derekjackson-das added the a11y Accessibility label Jan 24, 2025
@derekjackson-das derekjackson-das changed the title Keyboard Access Not Provided for Icon Links in the Presets Panel Presets Panel: Keyboard Access Not Provided for Icon Links Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y Accessibility
Projects
None yet
Development

No branches or pull requests

1 participant