Skip to content

Commit c28819b

Browse files
authored
Merge pull request #243 from TechnologyEnhancedLearning/Develop/Fixes/accessibility-3158-3159-fixes
Make buttons readable to Windows Narrator. Update NHS Learning Hub lo…
2 parents 9459509 + 8bcfeba commit c28819b

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

LearningHub.Nhs.WebUI/Views/Bookmark/_BookmarkAction.cshtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<span class="action-link-chevron @(Model.IsFirst? "empty" : "")">
77
@if (Model.IsFirst == false)
88
{
9-
<button name="action" value="moveup" class="btn btn-link action-link" title="Move up">
9+
<button name="action" value="moveup" class="btn btn-link action-link" title="Move up" aria-label="Move up">
1010
<i class="fa-solid fa-chevron-up fa-sm"></i>
1111
</button>
1212
}
@@ -15,7 +15,7 @@
1515
<span class="action-link-chevron @(Model.IsLast? "empty" : "")">
1616
@if (Model.IsLast == false)
1717
{
18-
<button name="action" value="movedown" class="btn btn-link action-link" title="Move down">
18+
<button name="action" value="movedown" class="btn btn-link action-link" title="Move down" aria-label="Move down">
1919
<i class="fa-solid fa-chevron-down fa-sm"></i>
2020
</button>
2121
}

LearningHub.Nhs.WebUI/Views/MyLearning/LearningCertificate.cshtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,7 @@
11051105
{
11061106
<div style="margin-top:20px" class="nhsuk-grid-column-full certificateHead">
11071107
<div class="nhsuk-header__logo nhsuk-u-padding-3">
1108-
<a style="width:auto" class="nhsuk-header__link nhsuk-header__link--service " href="/" aria-label="NHS homepage">
1108+
<a style="width:auto" class="nhsuk-header__link nhsuk-header__link--service " href="/" aria-label="NHS Learning Hub homepage">
11091109
<svg class="nhsuk-logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 16" height="40" width="100">
11101110
<path class="nhsuk-logo__background" fill="#005eb8" d="M0 0h40v16H0z"></path>
11111111
<path class="nhsuk-logo__text" fill="#fff" d="M3.9 1.5h4.4l2.6 9h.1l1.8-9h3.3l-2.8 13H9l-2.7-9h-.1l-1.8 9H1.1M17.3 1.5h3.6l-1 4.9h4L25 1.5h3.5l-2.7 13h-3.5l1.1-5.6h-4.1l-1.2 5.6h-3.4M37.7 4.4c-.7-.3-1.6-.6-2.9-.6-1.4 0-2.5.2-2.5 1.3 0 1.8 5.1 1.2 5.1 5.1 0 3.6-3.3 4.5-6.4 4.5-1.3 0-2.9-.3-4-.7l.8-2.7c.7.4 2.1.7 3.2.7s2.8-.2 2.8-1.5c0-2.1-5.1-1.3-5.1-5 0-3.4 2.9-4.4 5.8-4.4 1.6 0 3.1.2 4 .6"></path>
@@ -1276,7 +1276,7 @@
12761276
}
12771277
<div class="nhsuk-grid-column-full certificateHead">
12781278
<div class="nhsuk-header__logo nhsuk-u-padding-3">
1279-
<a style="width:auto" class="nhsuk-header__link nhsuk-header__link--service " href="/" aria-label="NHS homepage">
1279+
<a style="width:auto" class="nhsuk-header__link nhsuk-header__link--service " href="/" aria-label="NHS Learning Hub homepage">
12801280
<svg class="nhsuk-logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 16" height="40" width="100">
12811281
<path class="nhsuk-logo__background" fill="#005eb8" d="M0 0h40v16H0z"></path>
12821282
<path class="nhsuk-logo__text" fill="#fff" d="M3.9 1.5h4.4l2.6 9h.1l1.8-9h3.3l-2.8 13H9l-2.7-9h-.1l-1.8 9H1.1M17.3 1.5h3.6l-1 4.9h4L25 1.5h3.5l-2.7 13h-3.5l1.1-5.6h-4.1l-1.2 5.6h-3.4M37.7 4.4c-.7-.3-1.6-.6-2.9-.6-1.4 0-2.5.2-2.5 1.3 0 1.8 5.1 1.2 5.1 5.1 0 3.6-3.3 4.5-6.4 4.5-1.3 0-2.9-.3-4-.7l.8-2.7c.7.4 2.1.7 3.2.7s2.8-.2 2.8-1.5c0-2.1-5.1-1.3-5.1-5 0-3.4 2.9-4.4 5.8-4.4 1.6 0 3.1.2 4 .6"></path>
@@ -1320,7 +1320,7 @@
13201320
<div>
13211321
<div class="nhsuk-grid-column-full certificateHead">
13221322
<div class="nhsuk-header__logo nhsuk-u-padding-3">
1323-
<a class="nhsuk-header__link nhsuk-header__link--service " href="/" aria-label="NHS homepage">
1323+
<a class="nhsuk-header__link nhsuk-header__link--service " href="/" aria-label="NHS Learning Hub homepage">
13241324
<svg class="nhsuk-logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 16" height="40" width="100">
13251325
<path class="nhsuk-logo__background" fill="#005eb8" d="M0 0h40v16H0z"></path>
13261326
<path class="nhsuk-logo__text" fill="#fff" d="M3.9 1.5h4.4l2.6 9h.1l1.8-9h3.3l-2.8 13H9l-2.7-9h-.1l-1.8 9H1.1M17.3 1.5h3.6l-1 4.9h4L25 1.5h3.5l-2.7 13h-3.5l1.1-5.6h-4.1l-1.2 5.6h-3.4M37.7 4.4c-.7-.3-1.6-.6-2.9-.6-1.4 0-2.5.2-2.5 1.3 0 1.8 5.1 1.2 5.1 5.1 0 3.6-3.3 4.5-6.4 4.5-1.3 0-2.9-.3-4-.7l.8-2.7c.7.4 2.1.7 3.2.7s2.8-.2 2.8-1.5c0-2.1-5.1-1.3-5.1-5 0-3.4 2.9-4.4 5.8-4.4 1.6 0 3.1.2 4 .6"></path>

LearningHub.Nhs.WebUI/Views/Shared/_NavPartial.cshtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010

1111
<div class="nhsuk-width-container nhsuk-header__container app-width-container @PreLoginClass()">
1212

13-
<div class="nhsuk-header__logo"><a class="nhsuk-header__link nhsuk-header__link--service " href="/" aria-label="NHS homepage">
13+
<div class="nhsuk-header__logo">
14+
<a class="nhsuk-header__link nhsuk-header__link--service " href="/" aria-label="NHS Learning Hub homepage">
1415
<svg class="nhsuk-logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 16" height="40" width="100">
1516
<path class="nhsuk-logo__background" fill="#005eb8" d="M0 0h40v16H0z"></path>
1617
<path class="nhsuk-logo__text" fill="#fff" d="M3.9 1.5h4.4l2.6 9h.1l1.8-9h3.3l-2.8 13H9l-2.7-9h-.1l-1.8 9H1.1M17.3 1.5h3.6l-1 4.9h4L25 1.5h3.5l-2.7 13h-3.5l1.1-5.6h-4.1l-1.2 5.6h-3.4M37.7 4.4c-.7-.3-1.6-.6-2.9-.6-1.4 0-2.5.2-2.5 1.3 0 1.8 5.1 1.2 5.1 5.1 0 3.6-3.3 4.5-6.4 4.5-1.3 0-2.9-.3-4-.7l.8-2.7c.7.4 2.1.7 3.2.7s2.8-.2 2.8-1.5c0-2.1-5.1-1.3-5.1-5 0-3.4 2.9-4.4 5.8-4.4 1.6 0 3.1.2 4 .6"></path>

0 commit comments

Comments
 (0)