Skip to content

Commit

Permalink
fix(DTFS2-6520): made aria-labels in Deal page tabs headings more con…
Browse files Browse the repository at this point in the history
…sistent (#2283)
  • Loading branch information
avaitonis authored Nov 22, 2023
2 parents 369d45b + a42f4ef commit 486fab2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<div class="govuk-grid-column-full">

<h2 class="govuk-heading-xl govuk-!-margin-top-6 govuk-!-margin-bottom-5" data-cy="activity-heading" aria-label="Activity and comments">Activity and comments</h2>
<h2 class="govuk-heading-xl govuk-!-margin-top-6" data-cy="activity-heading">Activity and comments</h2>

{% set filterCommentData = {
selectedActivityFilter: selectedActivityFilter,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<div class="govuk-grid-row">
<div class="govuk-grid-column-three-quarters">
<h2 class="govuk-heading-xl govuk-!-margin-top-6" data-cy="documents-heading" aria-label="Documents">Documents</h2>
<h2 class="govuk-heading-xl govuk-!-margin-top-6" data-cy="documents-heading">Documents</h2>
{% if tfm.estore and tfm.estore.siteName %}
<a class="govuk-link" target="_blank" rel="noreferrer noopener nofollow" href="{{eStoreUrl}}/sites/{{ tfm.estore.siteName }}/CaseLibrary" data-cy="estore-link">View in eStore</a>
{% else %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<div class="govuk-grid-row">
<div class="govuk-grid-column-three-quarters">
<p class="header-label" aria-label="Parties" data-cy="parties-heading">Parties</p>
<h2 class="govuk-heading-xl govuk-!-margin-top-6" data-cy="parties-heading">Parties</h2>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion trade-finance-manager-ui/templates/case/tasks/tasks.njk
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<div class="govuk-grid-column-full">

<h2 class="govuk-heading-xl govuk-!-margin-top-6 govuk-!-margin-bottom-5" data-cy="tasks-heading" aria-label="Tasks for this deal">Tasks</h2>
<h2 class="govuk-heading-xl govuk-!-margin-top-6" data-cy="tasks-heading">Tasks</h2>

{% set filtersComponentData = {
selectedTaskFilter: selectedTaskFilter,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@

<div class="govuk-grid-row">
<div class="govuk-grid-column-full">
<h2 class="govuk-heading-xl govuk-!-margin-top-6 govuk-!-margin-bottom-6" data-cy="underwriting-heading-deal" aria-label="Underwriting page">Deal</h2>
<h2 class="govuk-heading-xl govuk-!-margin-top-6" data-cy="underwriting-heading-deal">Underwriting</h2>
</div>
</div>

Expand Down

0 comments on commit 486fab2

Please sign in to comment.