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

Modal keyboard navigation (tab/shift+tab) not working correctly #523

Open
UnlockQA opened this issue Dec 7, 2024 · 0 comments
Open

Modal keyboard navigation (tab/shift+tab) not working correctly #523

UnlockQA opened this issue Dec 7, 2024 · 0 comments

Comments

@UnlockQA
Copy link

UnlockQA commented Dec 7, 2024

Summary

The modal component has inconsistent keyboard navigation behavior

Steps to Reproduce

  1. Open any modal containing form elements e.g. User Profile Create Event
  2. Try to navigate through elements using Tab key
  3. Try to navigate backwards using Shift+Tab
  4. Try to tab through select fields

Demo Link

https://preline.co/pro/examples/modals-add-create-forms.html

Expected Behavior

  1. Users should be able to tab forward through ALL focusable elements (inputs, selects, buttons etc.)
  2. Users should be able to tab backwards using Shift+Tab
  3. Tab order should follow a logical sequence
  4. Behavior should comply with WCAG keyboard accessibility guidelines

Actual Behavior

  1. Can only tab forward through some input fields
  2. Cannot tab backwards at all
  3. Some fields you cannot tab into at all, and then you cannot tab backwards, so you're stuck

Screenshots

No response

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

No branches or pull requests

1 participant