-
Notifications
You must be signed in to change notification settings - Fork 193
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
Fixes #1489 - Adds keyboard navigation to the label editor. #1541
Conversation
@brizental Thanks for the PR! :) Thanks! |
@brizental Fixed my setup and everything looks great :))) |
@zoepage Nice, thanks! |
@zoepage Now it seems like everything is working and ready to merge. Let me know if there is anything to change. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked Safari and it looks like it has issues with tabindex (http://caniuse.com/#feat=tabindex-attr). So the labels don't get selected.
(Sorry for not thinking about checking that feature earlier in Safari.)
Chrome and Firefox have the border highlight, which is cool. But looks a little bit weird as the first label gets a border-bottom, but the following bottom and top. I'd suggest to either highlight the bottom, if it is easier or the whole box?
There is also the issue with the "gear icon" as it disappears from time to time after saving & closing. If you can reproduce, cool. If not, I'll open a new issue for it.
Thanks :)
@zoepage thanks for reviewing! I'll check safari today then :) |
@zoepage sorry for the delay! I fixed the border problem and the Safari problem. About the border problem, I had to switch from About Safari, apparently Finally, this problem with the gear icon disappearing is not happening for me... I think it would be best to open a new issue. |
what's the status of this PR? (I see it has some merge conflicts that need to be fixed, but beyond that? |
65cac48
to
dbb430b
Compare
Sorry it took me so long :/ So, it looks like the tab feature is not working in Safari(10.1.1) (probably again the same issue we had in the beginning?) and the Enter feature is not working in Nightly (56.0.0a1). The tab is not jumping into the list. I can tab though the list, but when hitting Enter nothing happens. --- edit --- |
As we spoke about it, it looks like I had caching issues. Sorry! I'd say, we have one tiny thing left and then we can ship! 🎉 As you can see below, the outline works, but the focus behaves differently in all 3 browsers. FF has none, Chrome does, but it disappears when checking off the checkbox. Safari keeps it all the time. |
Cool! I'm glad everything is working now :) About that focus issue, that's weird. I was having that problem, but I added this line https://github.com/webcompat/webcompat.com/pull/1541/files#diff-d4646a9030e33cda244b11a534c258b5R132 to fix it. I'll try and see if I can reproduce. For me everything in Chrome, Firefox and Safari are looking the same right now and focus is not showing in any of them. |
Hm... That's weird. LMK if you can reproduce... Otherwise I'll check again. |
I tried @zoepage, but really couldn't reproduce. Maybe this is still some cache problem? |
@zoepage if you re-run grunt does the problem still happen? |
The grunt task re-runs automatically, when we start the application. So, this was okay. |
Still need to add the functionality for when the user clicks
Enter
inside the text input and need to do some testing in other browsers, so far, I have only tested in Firefox.Will do that in the next couple of days.
Anyways, r @zoepage?