본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

평등 정보 입력받기

원문 보기 위키 갱신

평등 정보 입력받기 (Equality information)

공공 부문 기관은 차별을 피하고 기회의 평등을 증진할 필요성을 고려할 의무가 있어요. 이것을 공공 부문 평등 의무(public sector equality duty)라고 불러요.

공공 부문 기관은 이 의무를 충족하기 위해 서비스 이용자에 대한 평등 정보를 자주 수집해요.

출처: 문서

본문

이 패턴을 언제 쓸까요

이 패턴들은 정부통계청(Government Statistical Service)이 개발한 조화 표준(harmonised standards)을 바탕으로 해요.

공공 부문 전반에서 평등 정보를 일관된 방식으로 수집하면 데이터가 더 유용해져요. 예를 들어 한 기관이 자체 서비스를 다른 공공 부문 서비스나 일반 인구와 비교할 수 있어요. 그리고 특정 그룹이 과소 대표되고 있다는 것을 발견하면 접근 방식을 조정할 수 있어요.

운영상의 이유로 정보를 수집할 때는 이 패턴을 쓰지 마세요. 특히 법적으로 특정 방식으로 정보를 요청해야 하는 경우라면 더욱 그렇죠.

어떻게 동작하나요

사용자에게 평등 정보를 물을 때는 다음을 명확히 하세요.

  • 그 질문들이 서비스의 다른 질문과 다르다는 것
  • 왜 그 질문을 하는지, 그리고 정보를 어떻게 사용할지
  • 질문에 답하는 것이 선택 사항이라는 것

평등 질문을 어디에 둘까요

사람들이 일회성으로 사용할 가능성이 높은 서비스라면:

  • 평등 질문을 서비스의 ‘답변 확인(Check your answers)’ 페이지와 ‘확인(Confirmation)’ 페이지 사이에 배치하세요.
  • 아래와 같이 질문을 왜 하는지, 제공한 정보를 어떻게 사용할지 설명하는 화면을 사용자에게 보여주세요.
<h1 class="govuk-heading-l">We have received your application</h1>
<p class="govuk-body">Before you finish using the service, we’d like to ask some equality questions.</p>
<p class="govuk-body">[Add a couple of sentences explaining why you’re asking the questions and what you’ll do with the information].</p>
<div class="govuk-form-group">
  <fieldset class="govuk-fieldset" aria-describedby="equalitiesInfo-hint">
    <legend class="govuk-fieldset__legend govuk-fieldset__legend--m">
      Do you want to answer the equality questions?
    </legend>
    <div id="equalitiesInfo-hint" class="govuk-hint">
      <p class="govuk-!-margin-top-0">These questions are optional. Your answers will not affect your application.</p>
    </div>
    <div class="govuk-radios" data-module="govuk-radios">
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="equalitiesInfo" name="equalitiesInfo" type="radio" value="yes">
        <label class="govuk-label govuk-radios__label" for="equalitiesInfo">
          Yes, answer the equality questions (takes 2 minutes)
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="equalitiesInfo-2" name="equalitiesInfo" type="radio" value="no">
        <label class="govuk-label govuk-radios__label" for="equalitiesInfo-2">
          No, skip the equality questions
        </label>
      </div>
    </div>
  </fieldset>
</div>
<details class="govuk-details">
  <summary class="govuk-details__summary">
    <span class="govuk-details__summary-text">
      Why we ask equality questions
    </span>
  </summary>
  <div class="govuk-details__text">
    [Consider adding an optional longer explanation of what you’re asking the questions and what you’ll do with the information].
  </div>
</details>
<button type="submit" class="govuk-button" data-module="govuk-button">
  Continue
</button>
{% from "govuk/components/radios/macro.njk" import govukRadios %}
{% from "govuk/components/details/macro.njk" import govukDetails %}
{% from "govuk/components/button/macro.njk" import govukButton %}

{% set hintHtml %}
  <p class="govuk-!-margin-top-0">These questions are optional. Your answers will not affect your application.</p>
{% endset -%}

<h1 class="govuk-heading-l">We have received your application</h1>

<p class="govuk-body">Before you finish using the service, we’d like to ask some equality questions.</p>
<p class="govuk-body">[Add a couple of sentences explaining why you’re asking the questions and what you’ll do with the information].</p>

{{ govukRadios({
  name: "equalitiesInfo",
  fieldset: {
    legend: {
      text: "Do you want to answer the equality questions?",
      classes: "govuk-fieldset__legend--m"
    }
  },
  hint: {
    html: hintHtml
  },
  items: [
    {
      value: "yes",
      text: "Yes, answer the equality questions (takes 2 minutes)"
    },
    {
      value: "no",
      text: "No, skip the equality questions"
    }
  ]
}) }}

{% call govukDetails({
  summaryText: "Why we ask equality questions"
}) %}
  [Consider adding an optional longer explanation of what you’re asking the questions and what you’ll do with the information].
{% endcall %}

{{ govukButton({
  text: "Continue"
}) }}

장기 서비스

사용자가 여러 번 다시 방문할 것으로 예상되는 서비스라면, 평등 질문을 어디에 배치할지 결정해야 해요. 예를 들어 서로 다른 시점에 완료해야 하는 과제가 있는 계정형 서비스라면, 평등 질문에 답하는 것을 선택형 과제로 만들 수 있어요.

또한 무언가 바뀌었을 때를 대비해 사용자에게 평등 정보를 업데이트할 수 있는 옵션을 제공해야 해요.

평등 정보 업데이트하기

결혼이나 파트너십 상태, 장애, 종교, 성적 지향, 성별 정체성 등 평등 정보의 일부 범주는 시간이 지나면서 변할 수 있어요.

가능하면 사용자에게 평등 정보를 업데이트할 수 있는 옵션을 제공하세요. 사용자는 온라인 계정, 변경 요청 양식이나 다른 연락 방법을 통해 평등 정보를 업데이트할 수 있어야 해요. 평등 정보 업데이트 옵션을 서비스나 사용자 계정 시스템에 직접 통합하는 것이 가장 사용하기 쉽고 효율적인 방법인 경우가 많아요.

평등 정보를 여러 번 재사용하는 장기 서비스에서는 평등 정보 업데이트가 특히 중요해요.

전문 개인정보 또는 데이터 보호 자문 받기

수집하는 평등 정보의 일부 또는 전부는 소위 ‘특별 범주 개인 데이터(special category personal data)’일 가능성이 높아요. 즉 특별한 법적 보호를 받는다는 뜻이에요.

그러므로 평등 정보를 수집하기 시작하기 전에, 정보를 수집하고 처리하는 방법에 대해 조직의 개인정보 또는 데이터 보호 전문가의 조언과 승인을 받는 것이 중요해요.

또한 서비스의 개인정보 보호 고지(privacy notice)도 업데이트해야 해요.

무엇을 수집할까요

공공 부문 기관에는 조직이 공공 부문 평등 의무에 따른 의무를 충족하는지 확인하는 책임을 맡은 사람이 있을 거예요. 그 사람이 어떤 평등 정보를 수집할지 정하는 데 도움을 줄 수 있어요.

이 패턴은 다음을 다룹니다.

  • 나이
  • 장애
  • 민족 집단
  • 결혼 또는 파트너십 상태
  • 종교
  • 성별(sex)과 성별 정체성(gender identity)
  • 성적 지향

더 상세한 정보 수집하기

조화 표준에서 시작해서 응답 범주의 순서를 유지하세요. 필요하다면 하위 범주로 나누세요. 예를 들어 서비스가 특히 장애인을 대상으로 한다면, 장애에 대한 더 상세한 정보를 수집하고 싶을 수 있어요. 하지만 사용하는 모든 범주가 조화 표준의 ‘상위(parent)’ 범주에 매핑되도록 하세요.

다른 유형의 평등 정보 수집하기

소득이나 고용 상태 같은 다른 유형의 평등 정보를 수집하고 싶다면 정부통계청 조화 표준의 전체 목록을 참고하세요.

생년월일(나이) 묻기

이 방법으로 사용자의 생년월일을 물어보세요.

<div class="govuk-form-group">
  <fieldset class="govuk-fieldset" role="group" aria-describedby="date-of-birth-hint">
    <legend class="govuk-fieldset__legend govuk-fieldset__legend--l">
      <h1 class="govuk-fieldset__heading">
        What is your date of birth?
      </h1>
    </legend>
    <div id="date-of-birth-hint" class="govuk-hint">
      For example, 31 3 1980 – if you prefer not to say, continue without entering any information
    </div>
    <div class="govuk-date-input" id="date-of-birth">
      <div class="govuk-date-input__item">
        <div class="govuk-form-group">
          <label class="govuk-label govuk-date-input__label" for="date-of-birth-day">
            Day
          </label>
          <input class="govuk-input govuk-date-input__input govuk-input--width-2" id="date-of-birth-day" name="date-of-birth-day" type="text" autocomplete="bday-day" inputmode="numeric">
        </div>
      </div>
      <div class="govuk-date-input__item">
        <div class="govuk-form-group">
          <label class="govuk-label govuk-date-input__label" for="date-of-birth-month">
            Month
          </label>
          <input class="govuk-input govuk-date-input__input govuk-input--width-2" id="date-of-birth-month" name="date-of-birth-month" type="text" autocomplete="bday-month" inputmode="numeric">
        </div>
      </div>
      <div class="govuk-date-input__item">
        <div class="govuk-form-group">
          <label class="govuk-label govuk-date-input__label" for="date-of-birth-year">
            Year
          </label>
          <input class="govuk-input govuk-date-input__input govuk-input--width-4" id="date-of-birth-year" name="date-of-birth-year" type="text" autocomplete="bday-year" inputmode="numeric">
        </div>
      </div>
    </div>
  </fieldset>
</div>
<button type="submit" class="govuk-button" data-module="govuk-button">
  Continue
</button>
{% from "govuk/components/date-input/macro.njk" import govukDateInput %}
{% from "govuk/components/button/macro.njk" import govukButton %}

{{ govukDateInput({
  id: "date-of-birth",
  namePrefix: "date-of-birth",
  fieldset: {
    legend: {
      text: "What is your date of birth?",
      isPageHeading: true,
      classes: "govuk-fieldset__legend--l"
    }
  },
  hint: {
    text: "For example, 31 3 1980 – if you prefer not to say, continue without entering any information"
  },
  items: [
    {
      name: "day",
      classes: "govuk-input--width-2",
      autocomplete: "bday-day"
    },
    {
      name: "month",
      classes: "govuk-input--width-2",
      autocomplete: "bday-month"
    },
    {
      name: "year",
      classes: "govuk-input--width-4",
      autocomplete: "bday-year"
    }
  ]
}) }}

{{ govukButton({
  text: "Continue"
}) }}

장애 묻기

이 방법으로 장애를 물어보세요.

<div class="govuk-form-group">
  <fieldset class="govuk-fieldset">
    <legend class="govuk-fieldset__legend govuk-fieldset__legend--l">
      <h1 class="govuk-fieldset__heading">
        Do you have any physical or mental health conditions or illness lasting or expected to last 12 months or more?
      </h1>
    </legend>
    <div class="govuk-radios" data-module="govuk-radios">
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="disability" name="disability" type="radio" value="yes">
        <label class="govuk-label govuk-radios__label" for="disability">
          Yes
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="disability-2" name="disability" type="radio" value="no">
        <label class="govuk-label govuk-radios__label" for="disability-2">
          No
        </label>
      </div>
      <div class="govuk-radios__divider">or</div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="disability-4" name="disability" type="radio" value="skip">
        <label class="govuk-label govuk-radios__label" for="disability-4">
          Prefer not to say
        </label>
      </div>
    </div>
  </fieldset>
</div>
<button type="submit" class="govuk-button" data-module="govuk-button">
  Continue
</button>
{% from "govuk/components/button/macro.njk" import govukButton %}
{% from "govuk/components/radios/macro.njk" import govukRadios %}

{{ govukRadios({
  name: "disability",
  fieldset: {
    legend: {
      text: "Do you have any physical or mental health conditions or illness lasting or expected to last 12 months or more?",
      isPageHeading: true,
      classes: "govuk-fieldset__legend--l"
    }
  },
  items: [
    {
      value: "yes",
      text: "Yes"
    },
    {
      value: "no",
      text: "No"
    },
    {
      divider: "or"
    },
    {
      value: "skip",
      text: "Prefer not to say"
    }
  ]
}) }}

{{ govukButton({
  text: "Continue"
}) }}

사용자가 ‘예’라고 답하면, 자신의 질환(condition)이나 병(illness)의 영향에 대해 물어보세요.

<div class="govuk-form-group">
  <fieldset class="govuk-fieldset" aria-describedby="disability-hint">
    <legend class="govuk-fieldset__legend govuk-fieldset__legend--l">
      <h1 class="govuk-fieldset__heading">
        Do any of your conditions or illnesses reduce your ability to carry out day to day activities?
      </h1>
    </legend>
    <div id="disability-hint" class="govuk-hint">
      For example eating, washing, walking or going shopping
    </div>
    <div class="govuk-radios" data-module="govuk-radios">
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="disability" name="disability" type="radio" value="lot">
        <label class="govuk-label govuk-radios__label" for="disability">
          Yes, a lot
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="disability-2" name="disability" type="radio" value="little">
        <label class="govuk-label govuk-radios__label" for="disability-2">
          Yes, a little
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="disability-3" name="disability" type="radio" value="no">
        <label class="govuk-label govuk-radios__label" for="disability-3">
          Not at all
        </label>
      </div>
      <div class="govuk-radios__divider">or</div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="disability-5" name="disability" type="radio" value="skip">
        <label class="govuk-label govuk-radios__label" for="disability-5">
          Prefer not to say
        </label>
      </div>
    </div>
  </fieldset>
</div>
<button type="submit" class="govuk-button" data-module="govuk-button">
  Continue
</button>
{% from "govuk/components/button/macro.njk" import govukButton %}
{% from "govuk/components/radios/macro.njk" import govukRadios %}

{{ govukRadios({
  name: "disability",
  fieldset: {
    legend: {
      text: "Do any of your conditions or illnesses reduce your ability to carry out day to day activities?",
      isPageHeading: true,
      classes: "govuk-fieldset__legend--l"
    }
  },
  hint: {
    text: "For example eating, washing, walking or going shopping"
  },
  items: [
    {
      value: "lot",
      text: "Yes, a lot"
    },
    {
      value: "little",
      text: "Yes, a little"
    },
    {
      value: "no",
      text: "Not at all"
    },
    {
      divider: "or"
    },
    {
      value: "skip",
      text: "Prefer not to say"
    }
  ]
}) }}

{{ govukButton({
  text: "Continue"
}) }}

민족 집단 묻기

여기 사용된 민족 집단은 잉글랜드 기준이에요. 정부통계청 조화 표준은 웨일스, 스코틀랜드, 북아일랜드에서 수집한 민족 데이터에 다른 범주를 사용해요. 이는 지역 인구의 차이를 반영하기 위해서예요.

서비스가 잉글랜드, 웨일스, 스코틀랜드, 북아일랜드 중 둘 이상을 다룬다면, 디자인에서 이런 차이를 반영해야 해요. 예를 들어 사용자가 있는 위치에 따라 표시되는 민족 집단을 바꾸는 방식으로요. 그렇게 할 수 없다면 잉글랜드 범주를 사용하세요.

먼저 사용자의 광범위한 민족 집단을 물어보세요.

<div class="govuk-form-group">
  <fieldset class="govuk-fieldset">
    <legend class="govuk-fieldset__legend govuk-fieldset__legend--l">
      <h1 class="govuk-fieldset__heading">
        What is your ethnic group?
      </h1>
    </legend>
    <div class="govuk-radios" data-module="govuk-radios">
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicity" name="ethnicity" type="radio" value="white">
        <label class="govuk-label govuk-radios__label" for="ethnicity">
          White
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicity-2" name="ethnicity" type="radio" value="multiple">
        <label class="govuk-label govuk-radios__label" for="ethnicity-2">
          Mixed or multiple ethnic groups
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicity-3" name="ethnicity" type="radio" value="asian">
        <label class="govuk-label govuk-radios__label" for="ethnicity-3">
          Asian or Asian British
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicity-4" name="ethnicity" type="radio" value="black">
        <label class="govuk-label govuk-radios__label" for="ethnicity-4">
          Black, African, Caribbean or Black British
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicity-5" name="ethnicity" type="radio" value="other">
        <label class="govuk-label govuk-radios__label" for="ethnicity-5">
          Other ethnic group
        </label>
      </div>
      <div class="govuk-radios__divider">or</div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicity-7" name="ethnicity" type="radio" value="skip">
        <label class="govuk-label govuk-radios__label" for="ethnicity-7">
          Prefer not to say
        </label>
      </div>
    </div>
  </fieldset>
</div>
<button type="submit" class="govuk-button" data-module="govuk-button">
  Continue
</button>
{% from "govuk/components/button/macro.njk" import govukButton %}
{% from "govuk/components/radios/macro.njk" import govukRadios %}

{{ govukRadios({
  name: "ethnicity",
  fieldset: {
    legend: {
      text: "What is your ethnic group?",
      isPageHeading: true,
      classes: "govuk-fieldset__legend--l"
    }
  },
  items: [
    {
      value: "white",
      text: "White"
    },
    {
      value: "multiple",
      text: "Mixed or multiple ethnic groups"
    },
    {
      value: "asian",
      text: "Asian or Asian British"
    },
    {
      value: "black",
      text: "Black, African, Caribbean or Black British"
    },
    {
      value: "other",
      text: "Other ethnic group"
    },
    {
      divider: "or"
    },
    {
      value: "skip",
      text: "Prefer not to say"
    }
  ]
}) }}

{{ govukButton({
  text: "Continue"
}) }}

그런 다음 사용자가 선택한 광범위한 민족 집단에 따라 더 상세한 범주를 물어보세요. 항상 사용자에게 자신의 출신 배경을 직접 입력할 수 있는 옵션을 주세요.

<div class="govuk-form-group">
  <fieldset class="govuk-fieldset">
    <legend class="govuk-fieldset__legend govuk-fieldset__legend--l">
      <h1 class="govuk-fieldset__heading">
        Which of the following best describes your White background?
      </h1>
    </legend>
    <div class="govuk-radios" data-module="govuk-radios">
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicityDetail" name="ethnicityDetail" type="radio" value="british">
        <label class="govuk-label govuk-radios__label" for="ethnicityDetail">
          English, Welsh, Scottish, Northern Irish or British
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicityDetail-2" name="ethnicityDetail" type="radio" value="irish">
        <label class="govuk-label govuk-radios__label" for="ethnicityDetail-2">
          Irish
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicityDetail-3" name="ethnicityDetail" type="radio" value="gypsy-traveller">
        <label class="govuk-label govuk-radios__label" for="ethnicityDetail-3">
          Gypsy or Irish Traveller
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicityDetail-4" name="ethnicityDetail" type="radio" value="other" data-aria-controls="conditional-ethnicityDetail-4">
        <label class="govuk-label govuk-radios__label" for="ethnicityDetail-4">
          Any other White background
        </label>
      </div>
      <div class="govuk-radios__conditional govuk-radios__conditional--hidden" id="conditional-ethnicityDetail-4">
        <div class="govuk-form-group">
          <label class="govuk-label" for="other-description">
            How would you describe your background? (optional)
          </label>
          <input class="govuk-input govuk-!-width-one-half" id="other-description" name="otherDescription" type="text">
        </div>
      </div>
      <div class="govuk-radios__divider">or</div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicityDetail-6" name="ethnicityDetail" type="radio" value="skip">
        <label class="govuk-label govuk-radios__label" for="ethnicityDetail-6">
          Prefer not to say
        </label>
      </div>
    </div>
  </fieldset>
</div>
<button type="submit" class="govuk-button" data-module="govuk-button">
  Continue
</button>
{% from "govuk/components/button/macro.njk" import govukButton %}
{% from "govuk/components/radios/macro.njk" import govukRadios %}
{% from "govuk/components/input/macro.njk" import govukInput %}

{% set ethnicityHtml %}
  {{ govukInput({
    id: "other-description",
    name: "otherDescription",
    type: "text",
    classes: "govuk-!-width-one-half",
    label: {
      text: "How would you describe your background? (optional)"
    }
  }) }}
{% endset -%}

{{ govukRadios({
  name: "ethnicityDetail",
  fieldset: {
    legend: {
      text: "Which of the following best describes your White background?",
      isPageHeading: true,
      classes: "govuk-fieldset__legend--l"
    }
  },
  items: [
    {
      value: "british",
      text: "English, Welsh, Scottish, Northern Irish or British"
    },
    {
      value: "irish",
      text: "Irish"
    },
    {
      value: "gypsy-traveller",
      text: "Gypsy or Irish Traveller"
    },
    {
      value: "other",
      text: "Any other White background",
      conditional: {
        html: ethnicityHtml
      }
    },
    {
      divider: "or"
    },
    {
      value: "skip",
      text: "Prefer not to say"
    }
  ]
}) }}

{{ govukButton({
  text: "Continue"
}) }}
<div class="govuk-form-group">
  <fieldset class="govuk-fieldset">
    <legend class="govuk-fieldset__legend govuk-fieldset__legend--l">
      <h1 class="govuk-fieldset__heading">
        Which of the following best describes your mixed or multiple ethnic groups background?
      </h1>
    </legend>
    <div class="govuk-radios" data-module="govuk-radios">
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicityDetail" name="ethnicityDetail" type="radio" value="white-black-caribbean">
        <label class="govuk-label govuk-radios__label" for="ethnicityDetail">
          White and Black Caribbean
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicityDetail-2" name="ethnicityDetail" type="radio" value="white-black-african">
        <label class="govuk-label govuk-radios__label" for="ethnicityDetail-2">
          White and Black African
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicityDetail-3" name="ethnicityDetail" type="radio" value="white-asian">
        <label class="govuk-label govuk-radios__label" for="ethnicityDetail-3">
          White and Asian
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicityDetail-4" name="ethnicityDetail" type="radio" value="other" data-aria-controls="conditional-ethnicityDetail-4">
        <label class="govuk-label govuk-radios__label" for="ethnicityDetail-4">
          Any other mixed or multiple ethnic background
        </label>
      </div>
      <div class="govuk-radios__conditional govuk-radios__conditional--hidden" id="conditional-ethnicityDetail-4">
        <div class="govuk-form-group">
          <label class="govuk-label" for="other-description">
            How would you describe your background? (optional)
          </label>
          <input class="govuk-input govuk-!-width-one-half" id="other-description" name="otherDescription" type="text">
        </div>
      </div>
      <div class="govuk-radios__divider">or</div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicityDetail-6" name="ethnicityDetail" type="radio" value="skip">
        <label class="govuk-label govuk-radios__label" for="ethnicityDetail-6">
          Prefer not to say
        </label>
      </div>
    </div>
  </fieldset>
</div>
<button type="submit" class="govuk-button" data-module="govuk-button">
  Continue
</button>
{% from "govuk/components/button/macro.njk" import govukButton %}
{% from "govuk/components/radios/macro.njk" import govukRadios %}
{% from "govuk/components/input/macro.njk" import govukInput %}

{% set ethnicityHtml %}
  {{ govukInput({
    id: "other-description",
    name: "otherDescription",
    type: "text",
    classes: "govuk-!-width-one-half",
    label: {
      text: "How would you describe your background? (optional)"
    }
  }) }}
{% endset -%}

{{ govukRadios({
  name: "ethnicityDetail",
  fieldset: {
    legend: {
      text: "Which of the following best describes your mixed or multiple ethnic groups background?",
      isPageHeading: true,
      classes: "govuk-fieldset__legend--l"
    }
  },
  items: [
    {
      value: "white-black-caribbean",
      text: "White and Black Caribbean"
    },
    {
      value: "white-black-african",
      text: "White and Black African"
    },
    {
      value: "white-asian",
      text: "White and Asian"
    },
    {
      value: "other",
      text: "Any other mixed or multiple ethnic background",
      conditional: {
        html: ethnicityHtml
      }
    },
    {
      divider: "or"
    },
    {
      value: "skip",
      text: "Prefer not to say"
    }
  ]
}) }}

{{ govukButton({
  text: "Continue"
}) }}
<div class="govuk-form-group">
  <fieldset class="govuk-fieldset">
    <legend class="govuk-fieldset__legend govuk-fieldset__legend--l">
      <h1 class="govuk-fieldset__heading">
        Which of the following best describes your Asian or Asian British background?
      </h1>
    </legend>
    <div class="govuk-radios" data-module="govuk-radios">
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicityDetail" name="ethnicityDetail" type="radio" value="indian">
        <label class="govuk-label govuk-radios__label" for="ethnicityDetail">
          Indian
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicityDetail-2" name="ethnicityDetail" type="radio" value="pakistani">
        <label class="govuk-label govuk-radios__label" for="ethnicityDetail-2">
          Pakistani
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicityDetail-3" name="ethnicityDetail" type="radio" value="bangladeshi">
        <label class="govuk-label govuk-radios__label" for="ethnicityDetail-3">
          Bangladeshi
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicityDetail-4" name="ethnicityDetail" type="radio" value="chinese">
        <label class="govuk-label govuk-radios__label" for="ethnicityDetail-4">
          Chinese
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicityDetail-5" name="ethnicityDetail" type="radio" value="other" data-aria-controls="conditional-ethnicityDetail-5">
        <label class="govuk-label govuk-radios__label" for="ethnicityDetail-5">
          Any other Asian background
        </label>
      </div>
      <div class="govuk-radios__conditional govuk-radios__conditional--hidden" id="conditional-ethnicityDetail-5">
        <div class="govuk-form-group">
          <label class="govuk-label" for="other-description">
            How would you describe your background? (optional)
          </label>
          <input class="govuk-input govuk-!-width-one-half" id="other-description" name="otherDescription" type="text">
        </div>
      </div>
      <div class="govuk-radios__divider">or</div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicityDetail-7" name="ethnicityDetail" type="radio" value="skip">
        <label class="govuk-label govuk-radios__label" for="ethnicityDetail-7">
          Prefer not to say
        </label>
      </div>
    </div>
  </fieldset>
</div>
<button type="submit" class="govuk-button" data-module="govuk-button">
  Continue
</button>
{% from "govuk/components/button/macro.njk" import govukButton %}
{% from "govuk/components/radios/macro.njk" import govukRadios %}
{% from "govuk/components/input/macro.njk" import govukInput %}

{% set ethnicityHtml %}
  {{ govukInput({
    id: "other-description",
    name: "otherDescription",
    type: "text",
    classes: "govuk-!-width-one-half",
    label: {
      text: "How would you describe your background? (optional)"
    }
  }) }}
{% endset -%}

{{ govukRadios({
  name: "ethnicityDetail",
  fieldset: {
    legend: {
      text: "Which of the following best describes your Asian or Asian British background?",
      isPageHeading: true,
      classes: "govuk-fieldset__legend--l"
    }
  },
  items: [
    {
      value: "indian",
      text: "Indian"
    },
    {
      value: "pakistani",
      text: "Pakistani"
    },
    {
      value: "bangladeshi",
      text: "Bangladeshi"
    },
    {
      value: "chinese",
      text: "Chinese"
    },
    {
      value: "other",
      text: "Any other Asian background",
      conditional: {
        html: ethnicityHtml
      }
    },
    {
      divider: "or"
    },
    {
      value: "skip",
      text: "Prefer not to say"
    }
  ]
}) }}

{{ govukButton({
  text: "Continue"
}) }}
<div class="govuk-form-group">
  <fieldset class="govuk-fieldset">
    <legend class="govuk-fieldset__legend govuk-fieldset__legend--l">
      <h1 class="govuk-fieldset__heading">
        Which of the following best describes your Black, African, Caribbean or Black British background?
      </h1>
    </legend>
    <div class="govuk-radios" data-module="govuk-radios">
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicityDetail" name="ethnicityDetail" type="radio" value="african">
        <label class="govuk-label govuk-radios__label" for="ethnicityDetail">
          African
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicityDetail-2" name="ethnicityDetail" type="radio" value="caribbean">
        <label class="govuk-label govuk-radios__label" for="ethnicityDetail-2">
          Caribbean
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicityDetail-3" name="ethnicityDetail" type="radio" value="other" data-aria-controls="conditional-ethnicityDetail-3">
        <label class="govuk-label govuk-radios__label" for="ethnicityDetail-3">
          Any other Black, African or Caribbean background
        </label>
      </div>
      <div class="govuk-radios__conditional govuk-radios__conditional--hidden" id="conditional-ethnicityDetail-3">
        <div class="govuk-form-group">
          <label class="govuk-label" for="other-description">
            How would you describe your background? (optional)
          </label>
          <input class="govuk-input govuk-!-width-one-half" id="other-description" name="otherDescription" type="text">
        </div>
      </div>
      <div class="govuk-radios__divider">or</div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicityDetail-5" name="ethnicityDetail" type="radio" value="skip">
        <label class="govuk-label govuk-radios__label" for="ethnicityDetail-5">
          Prefer not to say
        </label>
      </div>
    </div>
  </fieldset>
</div>
<button type="submit" class="govuk-button" data-module="govuk-button">
  Continue
</button>
{% from "govuk/components/button/macro.njk" import govukButton %}
{% from "govuk/components/radios/macro.njk" import govukRadios %}
{% from "govuk/components/input/macro.njk" import govukInput %}

{% set ethnicityHtml %}
  {{ govukInput({
    id: "other-description",
    name: "otherDescription",
    type: "text",
    classes: "govuk-!-width-one-half",
    label: {
      text: "How would you describe your background? (optional)"
    }
  }) }}
{% endset -%}

{{ govukRadios({
  name: "ethnicityDetail",
  fieldset: {
    legend: {
      text: "Which of the following best describes your Black, African, Caribbean or Black British background?",
      isPageHeading: true,
      classes: "govuk-fieldset__legend--l"
    }
  },
  items: [
    {
      value: "african",
      text: "African"
    },
    {
      value: "caribbean",
      text: "Caribbean"
    },
    {
      value: "other",
      text: "Any other Black, African or Caribbean background",
      conditional: {
        html: ethnicityHtml
      }
    },
    {
      divider: "or"
    },
    {
      value: "skip",
      text: "Prefer not to say"
    }
  ]
}) }}

{{ govukButton({
  text: "Continue"
}) }}
<div class="govuk-form-group">
  <fieldset class="govuk-fieldset">
    <legend class="govuk-fieldset__legend govuk-fieldset__legend--l">
      <h1 class="govuk-fieldset__heading">
        Which of the following best describes your background?
      </h1>
    </legend>
    <div class="govuk-radios" data-module="govuk-radios">
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicityDetail" name="ethnicityDetail" type="radio" value="arab">
        <label class="govuk-label govuk-radios__label" for="ethnicityDetail">
          Arab
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicityDetail-2" name="ethnicityDetail" type="radio" value="other" data-aria-controls="conditional-ethnicityDetail-2">
        <label class="govuk-label govuk-radios__label" for="ethnicityDetail-2">
          Any other ethnic group
        </label>
      </div>
      <div class="govuk-radios__conditional govuk-radios__conditional--hidden" id="conditional-ethnicityDetail-2">
        <div class="govuk-form-group">
          <label class="govuk-label" for="other-description">
            How would you describe your background? (optional)
          </label>
          <input class="govuk-input govuk-!-width-one-half" id="other-description" name="otherDescription" type="text">
        </div>
      </div>
      <div class="govuk-radios__divider">or</div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicityDetail-4" name="ethnicityDetail" type="radio" value="skip">
        <label class="govuk-label govuk-radios__label" for="ethnicityDetail-4">
          Prefer not to say
        </label>
      </div>
    </div>
  </fieldset>
</div>
<button type="submit" class="govuk-button" data-module="govuk-button">
  Continue
</button>
{% from "govuk/components/button/macro.njk" import govukButton %}
{% from "govuk/components/radios/macro.njk" import govukRadios %}
{% from "govuk/components/input/macro.njk" import govukInput %}

{% set ethnicityHtml %}
  {{ govukInput({
    id: "other-description",
    name: "otherDescription",
    type: "text",
    classes: "govuk-!-width-one-half",
    label: {
      text: "How would you describe your background? (optional)"
    }
  }) }}
{% endset -%}

{{ govukRadios({
  name: "ethnicityDetail",
  fieldset: {
    legend: {
      text: "Which of the following best describes your background?",
      isPageHeading: true,
      classes: "govuk-fieldset__legend--l"
    }
  },
  items: [
    {
      value: "arab",
      text: "Arab"
    },
    {
      value: "other",
      text: "Any other ethnic group",
      conditional: {
        html: ethnicityHtml
      }
    },
    {
      divider: "or"
    },
    {
      value: "skip",
      text: "Prefer not to say"
    }
  ]
}) }}

{{ govukButton({
  text: "Continue"
}) }}

결혼 또는 시민 파트너십 상태 묻기

이 방법으로 결혼 또는 시민 파트너십 상태를 물어보세요.

<div class="govuk-form-group">
  <fieldset class="govuk-fieldset">
    <legend class="govuk-fieldset__legend govuk-fieldset__legend--l">
      <h1 class="govuk-fieldset__heading">
        What is your legal marital or registered civil partnership status?
      </h1>
    </legend>
    <div class="govuk-radios" data-module="govuk-radios">
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="marriageCivilPartnership" name="marriageCivilPartnership" type="radio" value="never">
        <label class="govuk-label govuk-radios__label" for="marriageCivilPartnership">
          Never married and never registered in a civil partnership
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="marriageCivilPartnership-2" name="marriageCivilPartnership" type="radio" value="married">
        <label class="govuk-label govuk-radios__label" for="marriageCivilPartnership-2">
          Married
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="marriageCivilPartnership-3" name="marriageCivilPartnership" type="radio" value="civil-partnership">
        <label class="govuk-label govuk-radios__label" for="marriageCivilPartnership-3">
          In a registered civil partnership
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="marriageCivilPartnership-4" name="marriageCivilPartnership" type="radio" value="separated-married">
        <label class="govuk-label govuk-radios__label" for="marriageCivilPartnership-4">
          Separated, but still legally married
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="marriageCivilPartnership-5" name="marriageCivilPartnership" type="radio" value="separated-civil-partnership">
        <label class="govuk-label govuk-radios__label" for="marriageCivilPartnership-5">
          Separated, but still legally in a civil partnership
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="marriageCivilPartnership-6" name="marriageCivilPartnership" type="radio" value="divorced">
        <label class="govuk-label govuk-radios__label" for="marriageCivilPartnership-6">
          Divorced
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="marriageCivilPartnership-7" name="marriageCivilPartnership" type="radio" value="dissolved-civil-partnership">
        <label class="govuk-label govuk-radios__label" for="marriageCivilPartnership-7">
          Formerly in a civil partnership which is now legally dissolved
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="marriageCivilPartnership-8" name="marriageCivilPartnership" type="radio" value="widowed">
        <label class="govuk-label govuk-radios__label" for="marriageCivilPartnership-8">
          Widowed
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="marriageCivilPartnership-9" name="marriageCivilPartnership" type="radio" value="widowed-civil-partnership">
        <label class="govuk-label govuk-radios__label" for="marriageCivilPartnership-9">
          Surviving partner from a registered civil partnership
        </label>
      </div>
      <div class="govuk-radios__divider">or</div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="marriageCivilPartnership-11" name="marriageCivilPartnership" type="radio" value="skip">
        <label class="govuk-label govuk-radios__label" for="marriageCivilPartnership-11">
          Prefer not to say
        </label>
      </div>
    </div>
  </fieldset>
</div>
<button type="submit" class="govuk-button" data-module="govuk-button">
  Continue
</button>
{% from "govuk/components/button/macro.njk" import govukButton %}
{% from "govuk/components/radios/macro.njk" import govukRadios %}

{{ govukRadios({
  name: "marriageCivilPartnership",
  fieldset: {
    legend: {
      text: "What is your legal marital or registered civil partnership status?",
      isPageHeading: true,
      classes: "govuk-fieldset__legend--l"
    }
  },
  items: [
    {
      value: "never",
      text: "Never married and never registered in a civil partnership"
    },
    {
      value: "married",
      text: "Married"
    },
    {
      value: "civil-partnership",
      text: "In a registered civil partnership"
    },
    {
      value: "separated-married",
      text: "Separated, but still legally married"
    },
    {
      value: "separated-civil-partnership",
      text: "Separated, but still legally in a civil partnership"
    },
    {
      value: "divorced",
      text: "Divorced"
    },
    {
      value: "dissolved-civil-partnership",
      text: "Formerly in a civil partnership which is now legally dissolved"
    },
    {
      value: "widowed",
      text: "Widowed"
    },
    {
      value: "widowed-civil-partnership",
      text: "Surviving partner from a registered civil partnership"
    },
    {
      divider: "or"
    },
    {
      value: "skip",
      text: "Prefer not to say"
    }
  ]
}) }}

{{ govukButton({
  text: "Continue"
}) }}

종교 묻기

여기 사용된 범주는 잉글랜드 기준이에요. 정부통계청 조화 표준은 웨일스, 스코틀랜드, 북아일랜드에서 수집한 종교 데이터에 다른 범주를 사용해요. 이는 지역 인구의 차이를 반영하기 위해서예요.

서비스가 잉글랜드, 웨일스, 스코틀랜드, 북아일랜드 중 둘 이상을 다룬다면, 디자인에서 이런 차이를 반영해야 해요. 예를 들어 사용자가 있는 위치에 따라 표시되는 범주를 바꾸는 방식으로요. 그렇게 할 수 없다면 잉글랜드 범주를 사용하세요.

<div class="govuk-form-group">
  <fieldset class="govuk-fieldset">
    <legend class="govuk-fieldset__legend govuk-fieldset__legend--l">
      <h1 class="govuk-fieldset__heading">
        What is your religion?
      </h1>
    </legend>
    <div class="govuk-radios" data-module="govuk-radios">
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="religion" name="religion" type="radio" value="none">
        <label class="govuk-label govuk-radios__label" for="religion">
          No religion
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="religion-2" name="religion" type="radio" value="christian" aria-describedby="religion-2-item-hint">
        <label class="govuk-label govuk-radios__label" for="religion-2">
          Christian
        </label>
        <div id="religion-2-item-hint" class="govuk-hint govuk-radios__hint">
          Including Church of England, Catholic, Protestant and all other Christian denominations
        </div>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="religion-3" name="religion" type="radio" value="buddhist">
        <label class="govuk-label govuk-radios__label" for="religion-3">
          Buddhist
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="religion-4" name="religion" type="radio" value="hindu">
        <label class="govuk-label govuk-radios__label" for="religion-4">
          Hindu
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="religion-5" name="religion" type="radio" value="jewish">
        <label class="govuk-label govuk-radios__label" for="religion-5">
          Jewish
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="religion-6" name="religion" type="radio" value="muslim">
        <label class="govuk-label govuk-radios__label" for="religion-6">
          Muslim
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="religion-7" name="religion" type="radio" value="sikh">
        <label class="govuk-label govuk-radios__label" for="religion-7">
          Sikh
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="religion-8" name="religion" type="radio" value="other" data-aria-controls="conditional-religion-8">
        <label class="govuk-label govuk-radios__label" for="religion-8">
          Any other religion
        </label>
      </div>
      <div class="govuk-radios__conditional govuk-radios__conditional--hidden" id="conditional-religion-8">
        <div class="govuk-form-group">
          <label class="govuk-label" for="other-description">
            What is your religion? (optional)
          </label>
          <input class="govuk-input govuk-!-width-one-half" id="other-description" name="otherDescription" type="text">
        </div>
      </div>
      <div class="govuk-radios__divider">or</div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="religion-10" name="religion" type="radio" value="skip">
        <label class="govuk-label govuk-radios__label" for="religion-10">
          Prefer not to say
        </label>
      </div>
    </div>
  </fieldset>
</div>
<button type="submit" class="govuk-button" data-module="govuk-button">
  Continue
</button>
{% from "govuk/components/button/macro.njk" import govukButton %}
{% from "govuk/components/radios/macro.njk" import govukRadios %}
{% from "govuk/components/input/macro.njk" import govukInput %}

{% set religionHtml %}
  {{ govukInput({
    id: "other-description",
    name: "otherDescription",
    type: "text",
    classes: "govuk-!-width-one-half",
    label: {
      text: "What is your religion? (optional)"
    }
  }) }}
{% endset -%}

{{ govukRadios({
  name: "religion",
  fieldset: {
    legend: {
      text: "What is your religion?",
      isPageHeading: true,
      classes: "govuk-fieldset__legend--l"
    }
  },
  items: [
    {
      value: "none",
      text: "No religion"
    },
    {
      value: "christian",
      text: "Christian",
      hint: {
        text: "Including Church of England, Catholic, Protestant and all other Christian denominations"
      }
    },
    {
      value: "buddhist",
      text: "Buddhist"
    },
    {
      value: "hindu",
      text: "Hindu"
    },
    {
      value: "jewish",
      text: "Jewish"
    },
    {
      value: "muslim",
      text: "Muslim"
    },
    {
      value: "sikh",
      text: "Sikh"
    },
    {
      value: "other",
      text: "Any other religion",
      conditional: {
        html: religionHtml
      }
    },
    {
      divider: "or"
    },
    {
      value: "skip",
      text: "Prefer not to say"
    }
  ]
}) }}

{{ govukButton({
  text: "Continue"
}) }}

성별(sex)과 성별 정체성 묻기

이 방법으로 성별과 성별 정체성을 물어보세요.

<h1 class="govuk-heading-l">Sex and gender identity</h1>
<div class="govuk-form-group">
  <fieldset class="govuk-fieldset">
    <legend class="govuk-fieldset__legend govuk-fieldset__legend--m">
      What is your sex?
    </legend>
    <div class="govuk-radios" data-module="govuk-radios">
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="sex" name="sex" type="radio" value="female">
        <label class="govuk-label govuk-radios__label" for="sex">
          Female
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="sex-2" name="sex" type="radio" value="male">
        <label class="govuk-label govuk-radios__label" for="sex-2">
          Male
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="sex-3" name="sex" type="radio" value="skip">
        <label class="govuk-label govuk-radios__label" for="sex-3">
          Prefer not to say
        </label>
      </div>
    </div>
  </fieldset>
</div>
<div class="govuk-form-group">
  <fieldset class="govuk-fieldset">
    <legend class="govuk-fieldset__legend govuk-fieldset__legend--m">
      Is the gender you identify with the same as your sex registered at birth?
    </legend>
    <div class="govuk-radios" data-module="govuk-radios">
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="genderIdentity" name="genderIdentity" type="radio" value="yes">
        <label class="govuk-label govuk-radios__label" for="genderIdentity">
          Yes
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="genderIdentity-2" name="genderIdentity" type="radio" value="no" data-aria-controls="conditional-genderIdentity-2">
        <label class="govuk-label govuk-radios__label" for="genderIdentity-2">
          No
        </label>
      </div>
      <div class="govuk-radios__conditional govuk-radios__conditional--hidden" id="conditional-genderIdentity-2">
        <div class="govuk-form-group">
          <label class="govuk-label" for="gender-description">
            What is your gender identity? (optional)
          </label>
          <input class="govuk-input govuk-!-width-one-half" id="gender-description" name="genderDescription" type="text">
        </div>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="genderIdentity-3" name="genderIdentity" type="radio" value="skip">
        <label class="govuk-label govuk-radios__label" for="genderIdentity-3">
          Prefer not to say
        </label>
      </div>
    </div>
  </fieldset>
</div>
<button type="submit" class="govuk-button" data-module="govuk-button">
  Continue
</button>
{% from "govuk/components/button/macro.njk" import govukButton %}
{% from "govuk/components/radios/macro.njk" import govukRadios %}
{% from "govuk/components/input/macro.njk" import govukInput %}

<h1 class="govuk-heading-l">Sex and gender identity</h1>

{% set genderHtml %}
  {{ govukInput({
    id: "gender-description",
    name: "genderDescription",
    type: "text",
    classes: "govuk-!-width-one-half",
    label: {
      text: "What is your gender identity? (optional)"
    }
  }) }}
{% endset -%}

{{ govukRadios({
  name: "sex",
  fieldset: {
    legend: {
      text: "What is your sex?",
      classes: "govuk-fieldset__legend--m"
    }
  },
  items: [
    {
      value: "female",
      text: "Female"
    },
    {
      value: "male",
      text: "Male"
    },
    {
      value: "skip",
      text: "Prefer not to say"
    }
  ]
}) }}

{{ govukRadios({
  name: "genderIdentity",
  fieldset: {
    legend: {
      text: "Is the gender you identify with the same as your sex registered at birth?",
      classes: "govuk-fieldset__legend--m"
    }
  },
  items: [
    {
      value: "yes",
      text: "Yes"
    },
    {
      value: "no",
      text: "No",
      conditional: {
        html: genderHtml
      }
    },
    {
      value: "skip",
      text: "Prefer not to say"
    }
  ]
}) }}

{{ govukButton({
  text: "Continue"
}) }}

성적 지향 묻기

이 방법으로 성적 지향을 물어보세요.

<div class="govuk-form-group">
  <fieldset class="govuk-fieldset">
    <legend class="govuk-fieldset__legend govuk-fieldset__legend--l">
      <h1 class="govuk-fieldset__heading">
        Which of the following best describes your sexual orientation?
      </h1>
    </legend>
    <div class="govuk-radios" data-module="govuk-radios">
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="sexualOrientation" name="sexualOrientation" type="radio" value="heterosexual">
        <label class="govuk-label govuk-radios__label" for="sexualOrientation">
          Heterosexual or straight
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="sexualOrientation-2" name="sexualOrientation" type="radio" value="gay-lesbian">
        <label class="govuk-label govuk-radios__label" for="sexualOrientation-2">
          Gay or lesbian
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="sexualOrientation-3" name="sexualOrientation" type="radio" value="bisexual">
        <label class="govuk-label govuk-radios__label" for="sexualOrientation-3">
          Bisexual
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="sexualOrientation-4" name="sexualOrientation" type="radio" value="other" data-aria-controls="conditional-sexualOrientation-4">
        <label class="govuk-label govuk-radios__label" for="sexualOrientation-4">
          Other
        </label>
      </div>
      <div class="govuk-radios__conditional govuk-radios__conditional--hidden" id="conditional-sexualOrientation-4">
        <div class="govuk-form-group">
          <label class="govuk-label" for="other-description">
            How would you describe your sexual orientation? (optional)
          </label>
          <input class="govuk-input govuk-!-width-one-half" id="other-description" name="otherDescription" type="text">
        </div>
      </div>
      <div class="govuk-radios__divider">or</div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="sexualOrientation-6" name="sexualOrientation" type="radio" value="skip">
        <label class="govuk-label govuk-radios__label" for="sexualOrientation-6">
          Prefer not to say
        </label>
      </div>
    </div>
  </fieldset>
</div>
<button type="submit" class="govuk-button" data-module="govuk-button">
  Continue
</button>
{% from "govuk/components/button/macro.njk" import govukButton %}
{% from "govuk/components/radios/macro.njk" import govukRadios %}
{% from "govuk/components/input/macro.njk" import govukInput %}

{% set sexualOrientationHtml %}
  {{ govukInput({
    id: "other-description",
    name: "otherDescription",
    type: "text",
    classes: "govuk-!-width-one-half",
    label: {
      text: "How would you describe your sexual orientation? (optional)"
    }
  }) }}
{% endset -%}

{{ govukRadios({
  name: "sexualOrientation",
  fieldset: {
    legend: {
      text: "Which of the following best describes your sexual orientation?",
      isPageHeading: true,
      classes: "govuk-fieldset__legend--l"
    }
  },
  items: [
    {
      value: "heterosexual",
      text: "Heterosexual or straight"
    },
    {
      value: "gay-lesbian",
      text: "Gay or lesbian"
    },
    {
      value: "bisexual",
      text: "Bisexual"
    },
    {
      value: "other",
      text: "Other",
      conditional: {
        html: sexualOrientationHtml
      }
    },
    {
      divider: "or"
    },
    {
      value: "skip",
      text: "Prefer not to say"
    }
  ]
}) }}

{{ govukButton({
  text: "Continue"
}) }}

검증과 오류 메시지

사용자가 유효하지만 불완전한 정보를 입력했다면 수락하세요. 예를 들어 일(day)이나 월(month) 없이 출생 연도만 입력할 수 있어요.

오류 메시지는 이렇게 스타일링해야 해요.

<div class="govuk-form-group govuk-form-group--error">
  <fieldset class="govuk-fieldset" aria-describedby="ethnicity-error">
    <legend class="govuk-fieldset__legend govuk-fieldset__legend--l">
      <h1 class="govuk-fieldset__heading">
        What is your ethnic group?
      </h1>
    </legend>
    <p id="ethnicity-error" class="govuk-error-message">
      <span class="govuk-visually-hidden">Error:</span> Select an ethnic group or ‘Prefer not to say’
    </p>
    <div class="govuk-radios" data-module="govuk-radios">
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicity" name="ethnicity" type="radio" value="white">
        <label class="govuk-label govuk-radios__label" for="ethnicity">
          White
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicity-2" name="ethnicity" type="radio" value="multiple">
        <label class="govuk-label govuk-radios__label" for="ethnicity-2">
          Mixed or multiple ethnic groups
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicity-3" name="ethnicity" type="radio" value="asian">
        <label class="govuk-label govuk-radios__label" for="ethnicity-3">
          Asian or Asian British
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicity-4" name="ethnicity" type="radio" value="black">
        <label class="govuk-label govuk-radios__label" for="ethnicity-4">
          Black, African, Caribbean or Black British
        </label>
      </div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicity-5" name="ethnicity" type="radio" value="other">
        <label class="govuk-label govuk-radios__label" for="ethnicity-5">
          Other ethnic group
        </label>
      </div>
      <div class="govuk-radios__divider">or</div>
      <div class="govuk-radios__item">
        <input class="govuk-radios__input" id="ethnicity-7" name="ethnicity" type="radio" value="skip">
        <label class="govuk-label govuk-radios__label" for="ethnicity-7">
          Prefer not to say
        </label>
      </div>
    </div>
  </fieldset>
</div>
<button type="submit" class="govuk-button" data-module="govuk-button">
  Continue
</button>
{% from "govuk/components/radios/macro.njk" import govukRadios %}
{% from "govuk/components/button/macro.njk" import govukButton %}

{{ govukRadios({
  name: "ethnicity",
  fieldset: {
    legend: {
      text: "What is your ethnic group?",
      isPageHeading: true,
      classes: "govuk-fieldset__legend--l"
    }
  },
  errorMessage: {
    text: "Select an ethnic group or ‘Prefer not to say’"
  },
  items: [
    {
      value: "white",
      text: "White"
    },
    {
      value: "multiple",
      text: "Mixed or multiple ethnic groups"
    },
    {
      value: "asian",
      text: "Asian or Asian British"
    },
    {
      value: "black",
      text: "Black, African, Caribbean or Black British"
    },
    {
      value: "other",
      text: "Other ethnic group"
    },
    {
      divider: "or"
    },
    {
      value: "skip",
      text: "Prefer not to say"
    }
  ]
}) }}

{{ govukButton({
  text: "Continue"
}) }}
<div class="govuk-form-group govuk-form-group--error">
  <fieldset class="govuk-fieldset" role="group" aria-describedby="date-of-birth-hint date-of-birth-error">
    <legend class="govuk-fieldset__legend govuk-fieldset__legend--l">
      <h1 class="govuk-fieldset__heading">
        What is your date of birth?
      </h1>
    </legend>
    <div id="date-of-birth-hint" class="govuk-hint">
      For example, 31 3 1980 – if you prefer not to say, continue without entering any information
    </div>
    <p id="date-of-birth-error" class="govuk-error-message">
      <span class="govuk-visually-hidden">Error:</span> Enter your date of birth or leave blank
    </p>
    <div class="govuk-date-input" id="date-of-birth">
      <div class="govuk-date-input__item">
        <div class="govuk-form-group">
          <label class="govuk-label govuk-date-input__label" for="date-of-birth-day">
            Day
          </label>
          <input class="govuk-input govuk-date-input__input govuk-input--error govuk-input--width-2" id="date-of-birth-day" name="date-of-birth-day" type="text" autocomplete="bday-day" inputmode="numeric">
        </div>
      </div>
      <div class="govuk-date-input__item">
        <div class="govuk-form-group">
          <label class="govuk-label govuk-date-input__label" for="date-of-birth-month">
            Month
          </label>
          <input class="govuk-input govuk-date-input__input govuk-input--error govuk-input--width-2" id="date-of-birth-month" name="date-of-birth-month" type="text" autocomplete="bday-month" inputmode="numeric">
        </div>
      </div>
      <div class="govuk-date-input__item">
        <div class="govuk-form-group">
          <label class="govuk-label govuk-date-input__label" for="date-of-birth-year">
            Year
          </label>
          <input class="govuk-input govuk-date-input__input govuk-input--error govuk-input--width-4" id="date-of-birth-year" name="date-of-birth-year" type="text" autocomplete="bday-year" inputmode="numeric">
        </div>
      </div>
    </div>
  </fieldset>
</div>
<button type="submit" class="govuk-button" data-module="govuk-button">
  Continue
</button>
{% from "govuk/components/date-input/macro.njk" import govukDateInput %}
{% from "govuk/components/button/macro.njk" import govukButton %}

{{ govukDateInput({
  id: "date-of-birth",
  namePrefix: "date-of-birth",
  fieldset: {
    legend: {
      text: "What is your date of birth?",
      isPageHeading: true,
      classes: "govuk-fieldset__legend--l"
    }
  },
  errorMessage: {
    text: "Enter your date of birth or leave blank"
  },
  hint: {
    text: "For example, 31 3 1980 – if you prefer not to say, continue without entering any information"
  },
  day: {
    autocomplete: "bday-day"
  },
  month: {
    autocomplete: "bday-month"
  },
  year: {
    autocomplete: "bday-year"
  }
}) }}

{{ govukButton({
  text: "Continue"
}) }}

이 패턴에 대한 연구

민족 정보를 묻는 2단계 접근 방식은 다음을 바탕으로 해요.

  • 인종 격차 부서(Race Disparity Unit)의 사용자 연구
  • 여러 정부 서비스에서 민족 집단을 묻는 다양한 방식의 예시

연구를 통해 답하고 싶은 질문들

일회성 서비스에서는 평등과 다양성 질문을 ‘답변 확인(check your answers)’ 페이지와 확인(confirmation) 페이지 사이에 배치하라고 제안했어요. 이는 ‘코로나19에 임상적으로 매우 취약한 경우 지원받기’ 서비스에서 ‘계정을 만들겠습니까?’ 질문이 배치된 위치를 바탕으로 한 것이지만, 평등 질문에도 이 배치가 효과적인지 확인하고 싶어요.

또한 다음 질문들에 대한 소중한 의견도 듣고 싶어요.

  • 사용자들이 첫 ‘평등 질문(Equality questions)’ 화면에서 곧 답할 질문들이 서비스의 다른 질문과 다르다는 것을 이해하는가?
  • 각 질문을 개별적으로 왜 묻는지 설명해야 하는가, 아니면 처음에 설명하는 것만으로 충분한가?
  • 사용자와 두 번 이상 접촉할 것으로 예상되는 다양한 유형의 서비스에서 평등 정보를 묻는 최선의 방법은 무엇인가?
  • ‘말하고 싶지 않다면 아무 정보도 입력하지 않고 계속 진행하세요(If you prefer not to say, continue without entering any information)’라는 텍스트를 넣는 것이 그 화면의 모든 텍스트 입력이 선택 사항임을 전달하는 가장 명확한 방법인가?

더 알아보기 (Learn more)