Open
Bug 1696126
Opened 4 years ago
If the up arrow button from Find Toolbar is clicked the Enter key moves selection to the previous match instead of the next
Categories
(Toolkit :: Find Toolbar, defect)
Tracking
()
People
(Reporter: danibodea, Unassigned)
References
(Blocks 1 open bug)
Details
Note
- When the user opens the Find Toolbar and searches for a term and taps enter, the next matching term on the page will be highlighted. If then, he clicks the up arrow from the right of the toolbar's input box, the previous matching term on the page will be highlighted. Furthermore, if NOW, he taps the Enter key, the previous match will be highlighted instead of the next.
Affected versions
- All
Affected platforms
- All
Steps to reproduce
- Load a page: https://en.wikipedia.org/wiki/Main_Page
- CTRL+F
- Input a common search term: the
Observe: The first match on the page is selected ("1 of x matches") - Tap Enter key
Observe: The next (second) match is selected ("2 of x matches") - Click the up arrow key
Observe: The previous match is selected ("1 of x matches") - Tap the Enter key, again
Expected result
- The next match on the page is selected
("2 of x matches")
Actual result
- The previous match on the page is selected
("x of x matches Reached top of page, continued from bottom") - Notice that both the Enter key and SHIFT + ENTER hotkey do the same action now.
Regression range
- This is not a regression
Additional notes
- What happens is that when the user clicks the up arrow button from the Find Toolbar, the focus leaves the input box and remains on the up arrow button, so then if he taps Enter, the up arrow button is pushed (without an animation).
- I assume that the up arrow (and down arrow) button should only be actionable with the SPACE key, like with the other toolbar buttons. (If the SPACE key is tapped in step 6, the up arrow key shows a button press animation.)
You need to log in
before you can comment on or make changes to this bug.
Description
•