Community
Participate
Working Groups
Created attachment 257882 [details] the btn only appears when hovered Open the references dropdown and mouseover the right side or the filter input box. There is a hidden button which only shows when moused over. I think this is the search button and acts the same way as pressing enter when filtering for something.
I agree that this is unexpected. (I believe it's supposed to be a "funnel" for filtering ;) For accessibility purposes, the button should be separate, and visible, and not magically appear on hover. It should also have an aria-label, and a proper tooltip, and it should not have tabindex="-1" (i.e. tabindex should be left as the default for button, which is 0). I would also like to see an 'x' button (with an aria-label of "clear") as a convenience to clear the filter (I opened bug 481471 for that).
(In reply to Carolyn MacLeod from comment #1) > I agree that this is unexpected. (I believe it's supposed to be a "funnel" > for filtering ;) > > For accessibility purposes, the button should be separate, and visible, and > not magically appear on hover. It should also have an aria-label, and a > proper tooltip, and it should not have tabindex="-1" (i.e. tabindex should > be left as the default for button, which is 0). > > I would also like to see an 'x' button (with an aria-label of "clear") as a > convenience to clear the filter (I opened bug 481471 for that). I am looking into that, found this along the way...
Cool. Let's get some more feedback before you make changes... SSQ, Grant, please comment on this proposal to change the Reference dropdown's filter text UI as follows: [Filter items ] [funnel] [x] I would also want the filter text to take focus when the Reference is initially dropped down (bug 481744), so that the user can just start typing. Also, (maybe) down arrow key could navigate to the list. Ideally, this would be like an autocomplete... but that is for a different bug. :)
For HTML5 supported browsers, i think the following would be better since inputs have built in "search" type which will automatically show an "x" when used. (e.g. <input type="search" />) [Filter items [x]] [funnel]
Nice one, Xintong. Agreed.
Another nice thing about using input type="search" is that the ESC key clears the text field. (Handy for keyboard users).
Note that x and Esc currently only work on Chrome and Safari for input type="search". Firefox just treats it like a text input (for now): https://bugzilla.mozilla.org/show_bug.cgi?id=558594 https://bugzilla.mozilla.org/show_bug.cgi?id=1055085
New Gerrit change created: https://git.eclipse.org/r/60826
Gerrit change https://git.eclipse.org/r/60826 was merged to [master]. Commit: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=ec2a1e19ae7797de0a2a21514d262032b759f451