-
Notifications
You must be signed in to change notification settings - Fork 41
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
Flag review menu does not close when navigating it with a keyboard #2029
Comments
Derived from #10980 |
Yes, possibly. If you look at the DOM, the flag menu is buried at the bottom (iirc) which is part of the problem. |
I was looking into using Just curious @kumar303 - you mentioned that Logically, we need to have the |
Well, I think that would be hard because this was the way that the third party component was implemented. |
Hi, thanks for your interest. @muffinresearch maybe you could help coordinate? |
@ani-sha, @valkyr13 this issue is probably not the best place to start, maybe take a look at something from this list https://github.com/mozilla/addons-frontend/issues?q=is%3Aopen+is%3Aissue+label%3A%22contrib%3A+outreachy%22 |
Can I take up this issue? |
@avgupt I see you have another PR in progress, and we think it best that you not work on more than a couple of issues at a time. You can take this on, but looking at it it looks pretty tricky to me, and I cannot with confidence say that we'll be able to give you much help in solving it. Please feel free to give it a try, but it might not be an ideal issue for your purposes. |
Hey @bobsilverberg , I gave it a shot but the tooltip that's being used is a third party component. I'm just stuck at how I could trigger a close command for tooltip, when the user presses Tab after reaching the third row. |
I've been working on an implementation for the bug. The idea is to add React refs for the first and last list items in the Would love your feedback! |
I do realize that the third party component RCTooltip makes it not so easy to close the menu. Welcome any suggestions here. I don't see suggestions regarding this in parallel efforts such as this. One way out may be replacing the third party tooltip, but this doesn't seem to be the most efficient approach. For now, I will be pushing changes that allow looping the menu, however, this isn't ideal given that we wouldn't be able to break out of the menu. |
Old Jira Ticket: https://mozilla-hub.atlassian.net/browse/ADDFRNT-123 |
Steps to reproduce:
1.Go an add-on detail page
2.Click on Read all reviews to see the list of reviews
3.When the page loads, use only the tab key to navigate the page
4.When you tab to the flag link press the space bar or enter key to flag a review
5.When drop down menu is collapsed, navigate through options by pressing Tab on keyboard
Expected results:
When reaching the last option, one more Tab press should focus the first option on the drop down(basically user should stay inside the opened drop down menu )
Actual results:
The next option on site is selected and user is not able to go back in the drop down menu without going through entire site with the keyboard
NOTES:
Reproduced in AMO-dev, FF Release
Please see video for this issue :
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: