Skip to content

Commit bb344a1

Browse files
Merge pull request #790 from TechnologyEnhancedLearning/Develop/Fixes/TD-4072-DIG201-Content-hasheading-markup-but-is-notaheading
TD-4072: Heading level corrected
2 parents a9c8ceb + ecef65a commit bb344a1

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

LearningHub.Nhs.WebUI/Views/Catalogue/AllCatalogue.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
</div>
5050
</div>
5151
<div class="nhsuk-grid-row">
52-
<h3 class="allCatalogue-lettercard nhsuk-u-font-size-36">@Model.FilterChar</h3>
52+
<h2 class="allCatalogue-lettercard nhsuk-u-font-size-36">@Model.FilterChar</h2>
5353

5454
</div>
5555
<hr class="nhsuk-section-break nhsuk-section-break--m nhsuk-section-break--visible">

LearningHub.Nhs.WebUI/Views/Home/_CatalogueCard.cshtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
}
3434

3535
<div class="nhsuk-card__content dashboard-card-content">
36-
<h2 class="nhsuk-card__heading nhsuk-heading-m">
36+
<h3 class="nhsuk-card__heading nhsuk-heading-m">
3737
<a class="nhsuk-card__link" asp-controller="Catalogue" asp-action="Index" asp-route-reference="@Model.Url">@Model.Name</a>
38-
</h2>
38+
</h3>
3939
<div class="nhsuk-card__description dashboard-card-body">
4040
<div class="line-clamp-3 nhsuk-u-margin-bottom-2point5">
4141
@UtilityHelper.StripHtmlFromString(Model.Description)

LearningHub.Nhs.WebUI/Views/Home/_ResourceCard.cshtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828

2929
<div class="nhsuk-card__content dashboard-card-content">
3030
<div>
31-
<h2 class="nhsuk-card__heading nhsuk-heading-m line-clamp-2">
31+
<h3 class="nhsuk-card__heading nhsuk-heading-m line-clamp-2">
3232
<a class="nhsuk-card__link" asp-controller="Dashboard" asp-action="RecordDashboardNavigation" asp-route-eventType="@EventTypeEnum.DashBoardResourceView"
3333
asp-route-url="@("/Resource/" + Model.Item2.ResourceReferenceId)" asp-route-resourceReference="@Model.Item2.ResourceReferenceId">@UtilityHelper.StripHtmlFromString(Model.Item2.Title)</a>
34-
</h2>
34+
</h3>
3535
</div>
3636
<div class="nhsuk-card__description dashboard-card-body">
3737
<div>

LearningHub.Nhs.WebUI/Views/Home/_StaticTray.cshtml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
<li class="nhsuk-grid-column-one-half nhsuk-card-group__item">
88
<div class="nhsuk-card">
99
<div class="nhsuk-card__content">
10-
<h2 class="nhsuk-card__heading nhsuk-heading-m">
10+
<h3 class="nhsuk-card__heading nhsuk-heading-m">
1111
<a class="nhsuk-card__link" asp-controller="Dashboard" asp-action="RecordDashboardNavigation" asp-route-eventType="@EventTypeEnum.DashBoardElfh"
1212
asp-route-url="/catalogue/pathologyportal">The Pathology Portal</a>
13-
</h2>
13+
</h3>
1414
<p class="nhsuk-card__description">
1515
Developed for pathology trainees and practising pathologists, the portal features innovative and interactive
1616
short modules to support training curricula and CPD from world class faculty.
@@ -24,10 +24,10 @@
2424
<div class="bmj-best-practice-logo-border">
2525
<div class="bmj-best-practice-logo-image"></div>
2626
</div>
27-
<h2 class="nhsuk-card__heading nhsuk-heading-m">
27+
<h3 class="nhsuk-card__heading nhsuk-heading-m">
2828
<a class="nhsuk-card__link" asp-controller="Dashboard" asp-action="RecordDashboardNavigation" asp-route-eventType="@EventTypeEnum.DashBoardBmj"
2929
asp-route-url="https://www.bmj.com/company/hee/">BMJ Best Practice</a>
30-
</h2>
30+
</h3>
3131
<p class="nhsuk-card__description">
3232
This tool uses the latest evidence-based research, guidelines and expert opinion to offer step-by-step guidance on diagnosis, prognosis, treatment and prevention.
3333
</p>

LearningHub.Nhs.WebUI/Views/Search/_CatalogueSearchResult.cshtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@
7373
}
7474
<div class="nhsuk-card__content catalogue-card-content">
7575

76-
<h2 class="nhsuk-card__heading nhsuk-heading-m">
76+
<h3 class="nhsuk-card__heading nhsuk-heading-m">
7777
<a class="nhsuk-card__link" href="@GetCatalogueUrl(item.Url, item.NodePathId, index, Int32.Parse(item.Id), item.Click.Payload)">@item.Name</a>
78-
</h2>
78+
</h3>
7979

8080
<div class="nhsuk-card__description catalogue-card-body">
8181
<div class="line-clamp-3 nhsuk-u-margin-bottom-2point5">

LearningHub.Nhs.WebUI/Views/Search/_ResourceSearchResult.cshtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@
3636
var provider = item.Providers?.FirstOrDefault();
3737

3838
<div class="resource-item nhsuk-list-item--border nhsuk-u-padding-bottom-4 nhsuk-u-margin-bottom-4">
39-
<h2 class="nhsuk-heading-xs nhsuk-u-margin-bottom-2">
39+
<h3 class="nhsuk-heading-xs nhsuk-u-margin-bottom-2">
4040
<a class="nhsuk-card__link" href="@GetUrl(item.ResourceReferenceId, index, item.NodePathId??0, item.Click.Payload)">@item.Title</a>
41-
</h2>
41+
</h3>
4242

4343
@if (provider != null)
4444
{

0 commit comments

Comments
 (0)