Skip to content
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

Internationalization - Compound names in Facet Category/Facet Label #6573

Closed
mhvezina opened this issue Jan 24, 2020 · 9 comments
Closed

Internationalization - Compound names in Facet Category/Facet Label #6573

mhvezina opened this issue Jan 24, 2020 · 9 comments
Labels
Component: JSF Involves modifying JSF (Jakarta Server Faces) code, which is being replaced with React. Feature: Search/Browse Type: Suggestion an idea

Comments

@mhvezina
Copy link
Contributor

mhvezina commented Jan 24, 2020

[Remaining work regarding issue #5207 maybe ?]

Suggestion regarding compound names in facetCategory:

Why not use the > symbol which suggests a logical hierarchical sequence and that is often used with breadcrumb navigation ? Would that work for all (a majority of maybe?) languages ?

e.g.:

Auteur > Nom
Auteur > Affiliation
Renseignements sur la subvention > Organisme subventionnaire 
Renseignements sur la subvention > Numéro de la subvention

Author > Name
Author > Affiliation
Grant Information > Grant Agency 
Grant Information > Grant Number

Autor > Nombre
Autor > Afiliación
Información de la subvención > Agencia subvencionadora
Información de la subvención > Número de subvención
@mhvezina mhvezina changed the title Internationalization - Conpound names in Facet Category/Facet Label Internationalization - Compound names in Facet Category/Facet Label Jan 24, 2020
@kaitlinnewson
Copy link
Contributor

One issue with this approach is how it impacts accessibility - most screenreaders would read this out as "Author greater than name".

@mhvezina
Copy link
Contributor Author

mhvezina commented Mar 9, 2020

True it is not used as a mathematical or relational operator here.
Then maybe an arrow (U+21E2)?
The arrow characters are characterized as being for multiple use; according to the Unicode Standard (http://www.unicode.org/reports/tr25/), “Arrows are used for a variety of purposes in mathematics and elsewhere, such as to imply directional relation, to show logical derivation or implication, and to represent the cursor control keys.” e.g.:

Información de la subvención ⇢ Agencia subvencionadora
Información de la subvención ⇢ Número de subvención

On the other hand, I don't know what is the assistive technologies extent of use for accessing Dataverse and how those users would figure out it's a breadcrumb separator, and not a greater than sign, if ">" symbol is chosen. My understanding is that the ">" breadcrumb separator has become a de facto-standard as it is used by a majority (probably way more than 50%) of web sites for this purpose.

@kaitlinnewson
Copy link
Contributor

Some implementations of breadcrumbs in websites cause accessibility problems, regardless of being the standard - unfortunately not everyone is aware of these kinds of issues or is prioritizing accessibility. Adding arrows or greater than symbols in either language introduces an accessibility problem for screenreaders. In some cases it can be mitigated by adding the symbol using CSS or an SVG with an empty alt tag, but @JayanthyChengan said this likely would not work for facets.

A screenreader would read the arrow as "right arrow" (so "Author right arrow name").

This post is a good guide to screenreaders and punctuation: https://www.deque.com/blog/dont-screen-readers-read-whats-screen-part-1-punctuation-typographic-symbols/

@mhvezina
Copy link
Contributor Author

@kaitlinnewson What is wrong in having screenreaders read the arrow as "right arrow" since it is indeed an arrow? and arrow can be used to imply a directional relation (here I would rather say a hierarchical relation)...

e.g. Grant Information ⇢ Grant Number

What is the alternative then ? A colon or semi-colon ? A pipe? (moreover the web site you are referring to seems to say that even a colon or semi-colon might not be recognized/read by a screenreader....)

e.g. Grant Information ; Grant Number

or having the second part between parentheses?

Grant Information (Grant Number)

One thing for sure, not putting a separator makes it difficult to understand (and is grammaticaly incorrect, at least in French and Spanish)

e.g. Grant Information Grant Number

@kaitlinnewson
Copy link
Contributor

(Deleting my previous message as I review the conversation in #5207)

@jggautier
Copy link
Contributor

jggautier commented Feb 18, 2022

The conversations in the GitGub issue at #5207 and the connected issues and PRs makes me think that there's now a way to specify how the names of child fields should appear when they're displayed as facet categories on the search page. So instead of the Dataverse software concatenating a parent name, like Author, and child name, like Affiliation, to display Author Affiliation as a facet category, an installation could specify that the child field Affiliation could be displayed using any given string.

Is this true? I had a hard time following the status of this and related GitHub issues and PRs. It also affects plans to improve the English-language names of metadata fields.

@cmbz
Copy link

cmbz commented Aug 20, 2024

To focus on the most important features and bugs, we are closing issues created before 2020 (version 5.0) that are not new feature requests with the label 'Type: Feature'.

If you created this issue and you feel the team should revisit this decision, please reopen the issue and leave a comment.

@cmbz cmbz closed this as completed Aug 20, 2024
@pdurbin
Copy link
Member

pdurbin commented Oct 23, 2024

Why not use the > symbol which suggests a logical hierarchical sequence and that is often used with breadcrumb navigation ? Would that work for all (a majority of maybe?) languages ?

The new Dataverse front end is also using ">". Here's a screenshot from https://beta.dataverse.org/spa/datasets?persistentId=doi:10.5072/FK2/BJ5KN4

Screenshot 2024-10-23 at 4 10 52 PM

If you want something other than a ">" here, please open a new issue at https://github.com/IQSS/dataverse-frontend/issues

@pdurbin
Copy link
Member

pdurbin commented Oct 23, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: JSF Involves modifying JSF (Jakarta Server Faces) code, which is being replaced with React. Feature: Search/Browse Type: Suggestion an idea
Projects
None yet
Development

No branches or pull requests

6 participants