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

Headers row sort -> literal buttons instead of icon with onClick handler #89

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

alexkb0009
Copy link
Collaborator

@alexkb0009 alexkb0009 commented Nov 22, 2021

Intent is to change the dropdown icons in search result table headers to be actual buttons for accessibility. However is very low priority.

Current issue is using tab navigation on header row icons/buttons will cause the header to scroll and lose alignment with the columns. When use tab navigation on search results columns, this issue isn't present, because we have onScroll handlers on the search result table body. Might be worth looking into to detect movements of header and then align body to it, but could be slightly challenging/complex to implement (need to prevent handlers from interfering w. each other) and ultimately probably not worth the effort to do...

Another issue is we render the 'dropdown menu' at different place in DOM than the header, because header row is wrapped a 'no overflow' container and thus the dropdown would be snipped off. So can't tab-navigate between header items and dropdown menu items (i.e. to cancel selection of sort option) at moment.


For now, won't spend time on this.

@alexkb0009 alexkb0009 added the wip Work in progress -- don't merge label Nov 22, 2021
@alexkb0009 alexkb0009 changed the title Headers row sort buttons Headers row sort -> literal buttons instead of icon with onClick handler Nov 22, 2021
@alexkb0009 alexkb0009 added the wontfix This will not be worked on label Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wip Work in progress -- don't merge wontfix This will not be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant