Replies: 13 comments 19 replies
-
A quick note is that with the new Visual Framework + we are trying not rely on icons where labels will work, and work for a wider audience. |
Beta Was this translation helpful? Give feedback.
-
Just adding a note that echoes @sturobson's: adding icons will certainly provide some benefit in certain cases, however it also adds questions around governance, UX, visual and technical questions will distract from other work. My current take is that we should consider exploring the role that icons could/should play in the VF, but that for implementation we focus on the existing roadmapped milestones |
Beta Was this translation helpful? Give feedback.
-
Hi, both @khawkins98 and @sturobson I suggested to use this in Search fields which act as filters, as opposed to Search boxes which are acting as Search, where they are usually accompanied by the Search button. @sturobson - maybe we can see those in the field itself and decide then if people are OK with this functionality Gabs |
Beta Was this translation helpful? Give feedback.
-
Thanks for this, @sturobson @nikiforosk @cindyebi Yes, if I get this right, we are doing this in our case.. We will be saying Search in Projects Will it go somewhere as a component, so that I refer the dev to it? :) |
Beta Was this translation helpful? Give feedback.
-
I made the mockups for the default and filled variants for Search @sturobson : |
Beta Was this translation helpful? Give feedback.
-
Hi all, there are two types of Search variants so far (see mockup below):
|
Beta Was this translation helpful? Give feedback.
-
hey @cindyebi - these look great. |
Beta Was this translation helpful? Give feedback.
-
@gabsie Good catch Gabby, I did check the contrast yesterday and it passed all the other standards except for "Small texts AAA". @nikiforosk Since our interactive color is blue, I would suggest using a light blue option (included in our new color palette) for the selection: We could either:
An example of how the gov.uk does it: @nikiforosk The search field within the homepage of the training site will need an update since the label of the search field is no longer mandatory to be right on the top of the field as it is now. I had a separate trello card on the TOL two sprints ago on separating the Search label and the field. The rationale is the label isn't the same as the form field labels as Search is 'special'. How the search label behaves on embl.org currently: I think we could add the 'How to Use' instructions on the VF site since it's more accessible to have these instructions on the site homepage than on Figma. It might be redundant to have the blue search button next to a Filtered Search because when a user has found what they are looking for from the suggestion, they might not need to click on the button anymore. As for the mobile version, I think @sturobson already worked on the version of where the button and the field form are stacked. It is common practice that all buttons will stack and expand to fill in the screen on mobile, some examples: This is because, on mobile, the bigger the 'target area' the better https://www.nngroup.com/articles/touch-target-size/ |
Beta Was this translation helpful? Give feedback.
-
Stacked Search button from @sturobson @nikiforosk : |
Beta Was this translation helpful? Give feedback.
-
After patch-y discussions yesterday I think I'm leaning towards:
Thinking on this more:
|
Beta Was this translation helpful? Give feedback.
-
some points (in quote marks) from a book of form design patterns: As we are hiding the label for search (because it's special) the button becomes "a quasi-label for sighted users". If we remove the button we "can't use it as a quasi label, the label would need to be reinstated, taking up room again" and "the button is a fundamental part of a form -- without it, it's not clear how users are meant to perform the search. While we may be aware that forms can be submitted implicitly […] not all users are" "Interestingly, many of the sites that omit the submit button normally find room to include a magnifying glass icon to signify its otherwise hidden affordance." (emphasis mine). |
Beta Was this translation helpful? Give feedback.
-
@nikiforosk @sturobson and I discussed the Search field variants on the vf catch-up meeting the other day and we decided to add the magnifying icon button as a replacement for the large "Search" button as a responsive mobile variant. Basically, the Search label would 'fade' out and be replaced with an icon once the screen is resized. Mockups below:
@sturobson has a demo video of how it works exactly. |
Beta Was this translation helpful? Give feedback.
-
PR for this at #1455 |
Beta Was this translation helpful? Give feedback.
-
It was briefly discussed in our recent VF/UX Chat (23/02/21) about the possible need for an icon for the search input in certain instances.
Here's the stub for a discussion on the topic.
As we are moving to using the streamline icon set for
2.x.x
+ I've dropped in the relative icons that 'might fit'.Note: We are tending to use the 'bold' versions of icons, so I've only added those options here:
There are options for search icons in boxes and circles - but this would go against the style used in existing icons.
But I can share those if needed/requested.
Beta Was this translation helpful? Give feedback.
All reactions