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

[EuiDatePicker] Moved Time component tabindex to UL #5509

Merged
merged 3 commits into from
Dec 29, 2021
Merged

[EuiDatePicker] Moved Time component tabindex to UL #5509

merged 3 commits into from
Dec 29, 2021

Conversation

1Copenut
Copy link
Contributor

@1Copenut 1Copenut commented Dec 28, 2021

Summary

Axe-core was reporting a violation for the Time component ul[role="listbox"] being contained in a DIV with a tab index. I moved the tab index to the UL and retested for keyboard navigation and screen reader usability. Closes #5296.

Checklist

  • Check against all themes for compatibility in both light and dark modes
  • Checked in mobile
  • Checked in Chrome, Safari, Edge, and Firefox
  • Props have proper autodocs and playground toggles
  • Added documentation
  • Checked Code Sandbox works for any docs examples
  • Added or updated jest and cypress tests
  • Checked for breaking changes and labeled appropriately
  • Checked for accessibility including keyboard-only and screenreader modes
  • A changelog entry exists and is marked appropriately

@1Copenut 1Copenut marked this pull request as ready for review December 28, 2021 23:26
@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_5509/

Copy link
Contributor

@chandlerprall chandlerprall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, confirmed keyboard interaction and mac voiceover are unaffected.

@1Copenut 1Copenut merged commit 7368933 into elastic:main Dec 29, 2021
@1Copenut 1Copenut deleted the feature/tpierce-eui-5296 branch December 29, 2021 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[EuiDatePicker][AXE-CORE]: UL role="listbox" must have the tabindex attribute for proper listbox interaction
3 participants