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

Keyboard Accessibility #110

Open
jbb01 opened this issue Jan 9, 2025 · 1 comment
Open

Keyboard Accessibility #110

jbb01 opened this issue Jan 9, 2025 · 1 comment

Comments

@jbb01
Copy link

jbb01 commented Jan 9, 2025

I want to address three issues related to keyboard accessibility of the fixed header here. All of them can be seen in datatables_fixed_header_keyboard.zip.

  1. When activating a sort button in the fixed header using the keyboard, focus is lost. focus_loss
  2. When tabbing through the complete page, the header is encountered twice, first in-place and then floating. This is because the fixed header is placed at the end of the body. Ideally, the fixed header should appear at the position in the tab order as the original header. When tabbing through the page in reverse order while the page is scrolled to the top, neither of the two headers will receive focus. tab_order
  3. Focus is not retained when switching between in-place and fixed header. focus_switch
@AllanJard
Copy link
Contributor

Thanks for posting this. All good points! The transition from one "mode" to the other is where this should be handled. I'd certainly welcome a pull request to address these points, or I'll get to them when possible.

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

2 participants