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

[Accessibility] Saved Object Finder traps focus #12483

Closed
cjcenizal opened this issue Jun 23, 2017 · 1 comment
Closed

[Accessibility] Saved Object Finder traps focus #12483

cjcenizal opened this issue Jun 23, 2017 · 1 comment
Labels
bug Fixes for quality problems that affect the customer experience Project:Accessibility

Comments

@cjcenizal
Copy link
Contributor

If you go into a dashboard, open the "Add Panels" menu, and then try to alt-tab backwards out of the "Visualizations filter" input, you end up tabbing to the first visualization in the list.

The desired behavior is to tab back to the "Close menu" caret icon in the top right corner.

image

This undesirable behavior is caused by this event handler on line 14 of saved_object_finder.html:

ng-keydown="finder.filterKeyDown($event)"

For some reason, this handler (line 135 of saved_object_finder.js) is capturing the tab event. Upon further digging, it looks like there's a lot of logic in here for keyboard accessibility (e.g. the hitKeyDown method on line 160). We should look into this and ask the author for background on this functionality. If the default tabbing behavior is sufficient for users to navigate this component, then we can remove this functionality and just give individual elements on the screen basic keyboard-accessibility.

@stacey-gammon
Copy link
Contributor

stacey-gammon commented Jul 27, 2017

That code is 2 - 3 years old and so difficult to point to any single author. It looks like everything works properly when it's just ripped out so that's what I'm inclined to do...

@tbragin tbragin added the bug Fixes for quality problems that affect the customer experience label Jul 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Project:Accessibility
Projects
None yet
Development

No branches or pull requests

3 participants