Skip to content

Commit 9e1a2f4

Browse files
authored
Merge pull request #118 from companieshouse/update-order-a-certificate-section
Update order a certificate section and add screen reader text to more tab
2 parents 0178af3 + 0887d66 commit 9e1a2f4

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

templates/company/view_all/view.html.tx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@
6060
<details class="govuk-details" role="group">
6161
<summary class="govuk-details__summary" role="button" aria-controls="details-content" aria-expanded="true">
6262
<span class="govuk-details__summary-text">
63-
What you can order
63+
What you'll need
6464
</span>
6565
</summary>
6666
<div class="govuk-details__text" id="details-content" aria-hidden="false">
67-
<p>You can:</p>
67+
<p>To use the service, you'll need:</p>
6868
<ul class="govuk-list govuk-list--bullet">
69-
<li>order a certificate of incorporation</li>
70-
<li>include good standing information</li>
71-
<li>pay by debit or credit card</li>
69+
<li>to choose the company information you want to be included on the certificate</li>
70+
<li>the address you want the certificate to be delivered to (UK or international)</li>
71+
<li>a credit or debit card for payment</li>
7272
</ul>
7373
</div>
7474
</details>

templates/includes/company/tab.tx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
%# $tabid - the ID of _this_ tab
44
%# $page - the URL relative to /company/{company_number} that this tab links to
55
%# $title - the title heading of the tab (may contain HTML)
6-
%# $company - the company details needed for display (uses company.company_number)
6+
%# $company - the company details needed for display (uses company.company_number)
7+
%# $screenReaderText - the descriptive text read to a screen reader user
78

89
<li <% ($active == $tabid ? 'class="active"' : '') | raw %> >
910

1011
% if ( $active == $tabid ) { "<h1>" | raw }
11-
<a id="<% $tabid %>" href="<% $c.url_for('/company/' ~ $company.company_number ~ $page) %>"><% $title|raw %><span class="visuallyhidden"> for <% $company.company_name %> (<% $company.company_number %>)</span></a>
12+
<a id="<% $tabid %>" aria-describedby="<% $screenReaderText %>" href="<% $c.url_for('/company/' ~ $company.company_number ~ $page) %>"><% $title|raw %><span class="visuallyhidden"> for <% $company.company_name %> (<% $company.company_number %>)</span></a>
1213
% if ( $active == $tabid ) { "</h1>" | raw }
1314

1415
</li>

templates/includes/company/tabs.tx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
% if $c.config.feature.company_report {
2525
% if $company.type != "assurance-company" && $company.type != "industrial-and-provident-society" && $company.type != "royal-charter" && $company.type != "investment-company-with-variable-capital" && $company.type != "charitable-incorporated-organisation" && $company.type != "scottish-charitable-incorporated-organisation" && $company.type != "uk-establishment" && $company.type != "registered-society-non-jurisdictional" && $company.type != "protected-cell-company" && $company.type != "eeig" && $company.type != "protected-cell-company" && $company.type != "further-education-or-sixth-form-college-corporation" && $company.type != "icvc-securities" && $company.type != "icvc-warrant" && $company.type != "icvc-umbrella" {
26-
% include "/includes/company/tab.tx" { tabid => 'more-tab', page => '/more', title => 'More'};
26+
% include "/includes/company/tab.tx" { tabid => 'more-tab', page => '/more', title => 'More', screenReaderText => 'Get company snapshot and ordering services'};
2727
% }
2828
% }
2929
</ul>

0 commit comments

Comments
 (0)