Skip to content

Commit

Permalink
Update How to vote section
Browse files Browse the repository at this point in the history
  • Loading branch information
hannako committed Apr 19, 2021
1 parent e3b84b2 commit df3c8cb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
17 changes: 8 additions & 9 deletions config/machine_readable/how-to-vote.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
title: "How to vote"
preamble: >
<p>You need to be <a href="/register-to-vote?src=schema">registered to vote</a> before you can vote in UK elections or referendums.</p>
<p>You need to <a href="/register-to-vote?src=schema">register to vote</a> before you can vote in UK elections or referendums.</p>
<p>If you’re eligible, you can vote in person on the day of the election at a named polling station. You can also apply for a postal or proxy vote instead.</p>
<p>There are elections and referendums in England, Scotland and Wales on 6 May 2021.</p>
Expand Down Expand Up @@ -34,20 +34,20 @@ faqs:
- question: Voting and coronavirus (COVID-19)
answer: >
<p>Elections and referendums are going ahead during coronavirus (COVID-19), though you may see changes to some processes. You can still choose to vote in person.</p>
<p>Elections and referendums are going ahead during coronavirus (COVID-19), though you may see changes to some processes. You can still vote in person at a polling station.</p>
<p>If you’re self-isolating, <a rel="external" href="https://www.nhs.uk/conditions/coronavirus-covid-19/people-at-higher-risk/who-is-at-high-risk-from-coronavirus-clinically-extremely-vulnerable/?src=schema">clinically extremely vulnerable</a>, or do not want to go to the polling station, you can <a href="/how-to-vote?src=schema#postal-voting">vote by post</a> or <a href="/how-to-vote?src=schema#voting-by-proxy">vote by proxy</a>.</p>
<p>From 27 April you’ll also be able to get an emergency proxy vote at short notice if you need to self-isolate shortly before or on election day.</p>
<p>From 5pm on 27 April you’ll also be able to get an emergency proxy vote at short notice if you need to self-isolate shortly before or on election day.</p>
<h2 id="at-the-polling-station">At the polling station</h2>
<p>Because of COVID-19, there will be safety measures in place at polling stations to help you vote safely (for example, restrictions on the number of people allowed in).</p>
<p>Because of COVID-19, there will be safety measures in place at polling stations to help you vote safely (for example, a one-way system or restrictions on the number of people allowed in).</p>
<p>If you choose to vote in person, make sure you:</p>
<ul>
<li>wear a face covering (unless you have an exemption)</li>
<li>wear a face covering (unless you’re exempt)</li>
<li>bring your own pen or pencil (there will be clean pencils available at the polling station if you forget to bring your own)</li>
<li>use hand sanitiser when entering and leaving the polling station</li>
<li>use the hand sanitiser provided when entering and leaving the polling station</li>
<li>keep to <a href="/government/publications/how-to-stop-the-spread-of-coronavirus-covid-19/how-to-stop-the-spread-of-coronavirus-covid-19?src=schema">social distancing guidelines</a></li>
</ul>
<h2 id="if-you-have-covid-19-symptoms-or-have-been-asked-to-self-isolate">If you have COVID-19 symptoms or have been asked to self-isolate</h2>
<p>Do not visit the polling station. You’ll be able to apply for an emergency proxy vote instead from 27 April.</p>
<p>Do not visit the polling station. You’ll be able to apply for an emergency proxy vote instead from 5pm on 27 April.</p>
- question: Voting in person
answer: >
Expand Down Expand Up @@ -84,8 +84,7 @@ faqs:
<p>Arrange to <a href="/how-to-vote/voting-by-proxy?src=schema">vote by proxy</a> if there are under 2 weeks until election day and you have not made arrangements.</p>
<p>There’s a different form to <a href="https://www.eoni.org.uk/Vote/Voting-by-post-or-proxy">apply to vote by post in Northern Ireland</a>.</p>
<h3 id="postal-vote-deadlines-for-6-may-elections">Postal vote deadlines for 6 May elections</h3>
<p>If you’re registered to vote in England or Wales, your application form must arrive at your local Electoral Registration Office by 20 April at 5pm if you want to vote by post on 6 May 2021.</p>
<p>If you’re registered to vote in Scotland, you can no longer apply for a postal vote for the 6 May 2021 elections. You can still apply for a proxy vote.</p>
<p>You can no longer apply for a postal vote for the elections on 6 May 2021. You can still apply for a proxy vote.</p>
- question: Voting by proxy
answer: >
Expand Down
4 changes: 2 additions & 2 deletions test/integration/guide_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class GuideTest < ActionDispatch::IntegrationTest
assert_nil faq_schema
end

# The schema config is in /config/machine_readable/voting-in-the-uk.yml
# The schema config is in /config/machine_readable/how-to-vote.yml
test "voting in the UK guide shows hard coded FAQ schema" do
setup_and_visit_voting_guide

Expand All @@ -121,7 +121,7 @@ class GuideTest < ActionDispatch::IntegrationTest

assert_equal faq_schema["@type"], "FAQPage"
assert_equal faq_schema["headline"], "How to vote"
assert_equal faq_schema["description"], "<p>You need to be <a href=\"/register-to-vote?src=schema\">registered to vote</a> before you can vote in UK elections or referendums.</p> <p>If you’re eligible, you can vote in person on the day of the election at a named polling station. You can also apply for a postal or proxy vote instead.</p> <p>There are elections and referendums in England, Scotland and Wales on 6 May 2021.</p>\n"
assert_equal faq_schema["description"], "<p>You need to <a href=\"/register-to-vote?src=schema\">register to vote</a> before you can vote in UK elections or referendums.</p> <p>If you’re eligible, you can vote in person on the day of the election at a named polling station. You can also apply for a postal or proxy vote instead.</p> <p>There are elections and referendums in England, Scotland and Wales on 6 May 2021.</p>\n"

assert_equal 10, q_and_as.count
end
Expand Down

0 comments on commit df3c8cb

Please sign in to comment.