As a Wikidata user, I want to be able to easily locate the result I'm looking for in the search suggestions provided by the Vector 2022 search.
Problem:
In the current TypeaheadSearch component, the non-matching part of labels (and aliases, in case of Wikidata) is bolded to support recognition. This pattern is adequate for Wikipedia, where results are ordered alphabetically, following the title of the article. The solution allows users' attention to focus on the desambiating part of the title, thus supporting selection:
Unfortunately, this bolding pattern is not so fitting for Wikidata. In our platform, results 1. are not presented alphabetically (so vertical comparison between matches is not facilitated), and 2. include aliases. Aliases are treated separately from labels and receive the same bolding treatment (matching parts present a regular weight). As a result, Wikidata search suggestions present irregular font weights: this doesn't support findability and instead creates a zig-zag reading pattern.
Solution:
In order to avoid the irregular (and potentially confusing) bolding of suggestions, we'd like to disable the current TypeaheadSearch suggestion bolding pattern in Wikidata. In our search, all both labels and aliases will present a bold style by default.
Mocks:
Acceptance criteria
- In Wikidata, suggestion labels are shown in a bold style by default