alphagov / govuk-design-system-backlog

GOV.UK Design System Community Backlog
31 stars 2 forks source link

Country #14

Open govuk-design-system opened 6 years ago

govuk-design-system commented 6 years ago

AKA: Country picker

This component depends on the Autocomplete component being ready

What

A country selector based on the autocomplete component and the countries register.

Why

Anything else

MalcolmVonMoJ commented 4 years ago

I worked on something like this in the Home Office about 5 years ago (visas-immigration.service.gov.uk). We had 3 lists:

  1. Countries
  2. Nationalities
  3. Former countries

The first is straight forward enough, but you still have to decide whether places like Gibraltar are listed separately - they are countries, but not sovereign states. Then there is the minefield of states that the UK doesn't recognise - e.g. Taiwan.

The second is different, and mostly on a par with sovereign states, but, for example, the UK has several forms of citizenship. e.g. (from the aforementioned service): image

The third is for questions such as Country of Birth, where countries that no longer exist are still legitimate answers. image

millieg commented 3 years ago

on the passports service- what is the correct answer to the question "Nationality at time of birth", if the country no longer exists - in the case of Former Yugoslavia for example? It would be good to have some guidance around this question on the passport application form.

MalcolmVonMoJ commented 3 years ago

I would recommend the question should be "Country of birth" rather than nationality as nationality can be more complex. For instance, I was born in the UK, but "British Citizenship" didn't exist when I was born, I was a "British Subject and Citizen of the United Kingdom and Colonies". Asking country is less of a minefield.

I would also suggest you look at the visa service I mentioned above. This asks this very question and allows users to enter extinct countries, such as Yugoslavia.

image

joelanman commented 3 years ago

this is how Register to vote asks it:

What is your nationality? Select all options that are relevant to you. British including English, Scottish, Welsh or from Northern Ireland Irish including from Northern Ireland Citizen of a different country Country name Button Remove 1st additional country Button Add additional country Button Help with nationality

edwardhorsford commented 3 years ago

I'd be cautious about asking for country of brith if what is wanted is a person's nationality, or first nationality. Being born in a country does not necessarily imply someone gains the nationality of that country (though often it is the case).

NB: I'd be curious why a service needs nationality at time of birth rather than current nationality or nationalities. Which would obviously avoid the issue of countries that have ceased to exist (though presumably their nationalities have been subsumed / are known to translate to a currently recognised nationality).