-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1396 from TechnologyEnhancedLearning/Develop/Fixe…
…s/DLSV2-548-AccessibilityFixes DLSV2-548 Further accessibility fixes following internal and external retest
- Loading branch information
Showing
63 changed files
with
448 additions
and
341 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,20 +12,20 @@ | |
<li class="nhsuk-breadcrumb__item"><a class="nhsuk-breadcrumb__link" asp-action="SelfAssessmentOverview" asp-route-vocabulary="@Model.VocabPlural()" asp-route-selfAssessmentId="@Model.Assessment.Id" asp-route-competencyGroupId="@Model.Competency.CompetencyGroupID" asp-fragment="[email protected]">@(Model.VocabPlural()) home</a></li> | ||
<li class="nhsuk-breadcrumb__item">@DisplayStringHelper.Ellipsis(Model.Competency?.Name, 30)</li> | ||
} | ||
@section mobilebacklink | ||
{ | ||
@section mobilebacklink | ||
{ | ||
<p class="nhsuk-breadcrumb__back"> | ||
<a class="nhsuk-breadcrumb__backlink" asp-action="SelfAssessmentOverview" | ||
asp-route-vocabulary="@Model.VocabPlural()" | ||
asp-route-selfAssessmentId="@Model.Assessment.Id" | ||
asp-route-competencyGroupId="@Model.Competency.CompetencyGroupID" | ||
asp-fragment="[email protected]"> | ||
asp-route-vocabulary="@Model.VocabPlural()" | ||
asp-route-selfAssessmentId="@Model.Assessment.Id" | ||
asp-route-competencyGroupId="@Model.Competency.CompetencyGroupID" | ||
asp-fragment="[email protected]"> | ||
Back to @Model.VocabPlural() | ||
</a> | ||
</p> | ||
} | ||
<link rel="stylesheet" href="@Url.Content("~/css/learningPortal/selfAssessment.css")" asp-append-version="true"> | ||
<link rel="stylesheet" href="@Url.Content("~/css/shared/searchableElements/pagination.css")" asp-append-version="true"> | ||
<link rel="stylesheet" href="@Url.Content("~/css/learningPortal/selfAssessment.css")" asp-append-version="true"> | ||
<link rel="stylesheet" href="@Url.Content("~/css/shared/searchableElements/pagination.css")" asp-append-version="true"> | ||
@if (errorHasOccurred) | ||
{ | ||
<vc:error-summary order-of-property-names="@(new[] { nameof(Model) })" /> | ||
|
@@ -49,14 +49,14 @@ | |
} | ||
else | ||
{ | ||
<h2 class="nhsuk-u-margin-bottom-0 nhsuk-u-font-size-24"> | ||
<h2 class="nhsuk-u-margin-bottom-2 nhsuk-u-font-size-24"> | ||
@Model.Competency.Name | ||
</h2> | ||
@if (Model.Competency.Description != null) | ||
{ | ||
<p class="nhsuk-body-l"> | ||
<div class="nhsuk-body-l"> | ||
@(Html.Raw(@Model.Competency.Description)) | ||
</p> | ||
</div> | ||
} | ||
} | ||
</div> | ||
|
@@ -107,9 +107,9 @@ | |
<div class="pagination-button-container"> | ||
<div class="nhsuk-pagination-item--previous"> | ||
<a class="nhsuk-back-link__link" | ||
asp-action=@(Model.CompetencyNumber == 1 ? "SelfAssessment" : "SelfAssessmentCompetency") | ||
asp-route-selfAssessmentId="@Model.Assessment.Id" | ||
asp-route-competencyNumber=@(Model.CompetencyNumber == 1 ? "" : (Model.CompetencyNumber - 1).ToString())> | ||
asp-action=@(Model.CompetencyNumber == 1 ? "SelfAssessment" : "SelfAssessmentCompetency") | ||
asp-route-selfAssessmentId="@Model.Assessment.Id" | ||
asp-route-competencyNumber=@(Model.CompetencyNumber == 1 ? "" : (Model.CompetencyNumber - 1).ToString())> | ||
<svg class="nhsuk-icon nhsuk-icon__chevron-left" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" focusable="false" aria-hidden="true"> | ||
<path d="M8.5 12c0-.3.1-.5.3-.7l5-5c.4-.4 1-.4 1.4 0s.4 1 0 1.4L10.9 12l4.3 4.3c.4.4.4 1 0 1.4s-1 .4-1.4 0l-5-5c-.2-.2-.3-.4-.3-.7z"></path> | ||
</svg> | ||
|
@@ -119,22 +119,23 @@ | |
</div> | ||
<div class="page-indicator-container"> | ||
<a class="nhsuk-back-link__link" | ||
asp-action="SelfAssessmentOverview" | ||
asp-route-selfAssessmentId="@Model.Assessment.Id" asp-route-vocabulary="@Model.VocabPlural()" asp-route-competencyGroupId="@Model.Competency.CompetencyGroupID" asp-fragment="[email protected]"> | ||
asp-action="SelfAssessmentOverview" | ||
asp-route-selfAssessmentId="@Model.Assessment.Id" asp-route-vocabulary="@Model.VocabPlural()" asp-route-competencyGroupId="@Model.Competency.CompetencyGroupID" asp-fragment="[email protected]"> | ||
<span class="nhsuk-pagination__page">Return to @Model.VocabPlural() home</span> | ||
</a> | ||
</div> | ||
<div class="pagination-button-container nhsuk-u-margin-right-6"> | ||
<div class="nhsuk-pagination-item--next"> | ||
<a class="nhsuk-back-link__link skip-link" | ||
asp-action="SelfAssessmentCompetency" | ||
asp-route-selfAssessmentId="@Model.Assessment.Id" | ||
asp-route-competencyNumber="@(Model.CompetencyNumber + 1)"> | ||
asp-action="SelfAssessmentCompetency" | ||
asp-route-selfAssessmentId="@Model.Assessment.Id" | ||
asp-route-competencyNumber="@(Model.CompetencyNumber + 1)"> | ||
<span class="nhsuk-pagination__page">Skip question</span> | ||
<span> | ||
<svg class="nhsuk-icon nhsuk-icon__chevron-left" id="skip-arrow" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" focusable="false" aria-hidden="true"> | ||
<path d="M15.5 12a1 1 0 0 1-.29.71l-5 5a1 1 0 0 1-1.42-1.42l4.3-4.29-4.3-4.29a1 1 0 0 1 1.42-1.42l5 5a1 1 0 0 1 .29.71z"></path> | ||
</svg></span> | ||
<svg class="nhsuk-icon nhsuk-icon__chevron-left" id="skip-arrow" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" focusable="false" aria-hidden="true"> | ||
<path d="M15.5 12a1 1 0 0 1-.29.71l-5 5a1 1 0 0 1-1.42-1.42l4.3-4.29-4.3-4.29a1 1 0 0 1 1.42-1.42l5 5a1 1 0 0 1 .29.71z"></path> | ||
</svg> | ||
</span> | ||
</a> | ||
</div> | ||
</div> | ||
|
@@ -145,8 +146,8 @@ | |
{ | ||
<div class="nhsuk-back-link nhsuk-grid-column-full"> | ||
<a class="nhsuk-back-link__link" | ||
asp-action="SelfAssessmentOverview" | ||
asp-route-selfAssessmentId="@Model.Assessment.Id" asp-route-vocabulary="@Model.VocabPlural()" asp-route-competencyGroupId="@Model.Competency.CompetencyGroupID" asp-fragment="[email protected]"> | ||
asp-action="SelfAssessmentOverview" | ||
asp-route-selfAssessmentId="@Model.Assessment.Id" asp-route-vocabulary="@Model.VocabPlural()" asp-route-competencyGroupId="@Model.Competency.CompetencyGroupID" asp-fragment="[email protected]"> | ||
<svg class="nhsuk-icon nhsuk-icon__chevron-left" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" focusable="false" aria-hidden="true"> | ||
<path d="M8.5 12c0-.3.1-.5.3-.7l5-5c.4-.4 1-.4 1.4 0s.4 1 0 1.4L10.9 12l4.3 4.3c.4.4.4 1 0 1.4s-1 .4-1.4 0l-5-5c-.2-.2-.3-.4-.3-.7z"></path> | ||
</svg>Return to @Model.VocabPlural() home | ||
|
Oops, something went wrong.