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

Enhance Keyboard Accessibility in Cropper.js #1169

Open
ChaimTW opened this issue May 1, 2024 · 1 comment
Open

Enhance Keyboard Accessibility in Cropper.js #1169

ChaimTW opened this issue May 1, 2024 · 1 comment

Comments

@ChaimTW
Copy link

ChaimTW commented May 1, 2024

Description:

As per the upcoming WCAG regulations that will be mandatory for all digital products in the European Union starting in 2025, it is essential for our applications to be keyboard accessible to ensure inclusivity for all users, including those with disabilities. However, the current version of Cropper.js lacks keyboard accessibility features.

Requested feature:

  1. Tabbable Component: Enable tab navigation into the Cropper.js component for keyboard users, ensuring they can access and interact with its functionalities without relying solely on mouse input.
  2. Arrow Key Functionality: Allow users to use arrow keys to navigate and adjust the top, left, bottom, and right boundaries of the cropping area within the Cropper.js component.

Expected outcome:

  1. Improved accessibility for users who rely on keyboard navigation.
  2. Compliance with WCAG regulations and enhanced inclusivity for all users.

Sources of inspiration:

  • The npm package react-image-crop implemented similar functionality in this PR
  • For a demo app implementation that meets the WCAG standards you can check this website

Note: I understand the importance of maintaining compatibility and performance while implementing these changes, and I am open to discussing potential implementation strategies or collaborating on this enhancement.

Thank in advance!

@WebMechanic
Copy link

I like the demo app implementation. very intuitive !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants