diff --git a/LearningHub.Nhs.WebUI/Scripts/vuesrc/globalcomponents/IconButton.vue b/LearningHub.Nhs.WebUI/Scripts/vuesrc/globalcomponents/IconButton.vue index 2ff2c9110..7e644a318 100644 --- a/LearningHub.Nhs.WebUI/Scripts/vuesrc/globalcomponents/IconButton.vue +++ b/LearningHub.Nhs.WebUI/Scripts/vuesrc/globalcomponents/IconButton.vue @@ -48,7 +48,8 @@ }" v-bind:disabled="disabled"> + v-bind:aria-label="ariaLabel" + v-bind:role="iconRole"> {{ label }} @@ -65,6 +66,7 @@ color: String, shape: String, size: String, + iconRole: String, }, }); diff --git a/LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/blocks/QuestionBlock.vue b/LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/blocks/QuestionBlock.vue index 6366ec7fe..20945e6f2 100644 --- a/LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/blocks/QuestionBlock.vue +++ b/LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/blocks/QuestionBlock.vue @@ -9,7 +9,8 @@ + :ariaLabel="isOpen ? `hide content` : `reveal content`" + iconRole="img">
diff --git a/LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/blocks/SingleQuestionAnswerView.vue b/LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/blocks/SingleQuestionAnswerView.vue index 21925aa52..c325b1446 100644 --- a/LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/blocks/SingleQuestionAnswerView.vue +++ b/LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/blocks/SingleQuestionAnswerView.vue @@ -17,7 +17,8 @@ :class="getStyleFromAnswerType(answer.status)"/> + src="/images/medal-icon.svg" + alt="Medal Icon"/> {{ answer.blockCollection.blocks[0].textBlock.content }}
diff --git a/LearningHub.Nhs.WebUI/Views/Resource/_RatingSummary.cshtml b/LearningHub.Nhs.WebUI/Views/Resource/_RatingSummary.cshtml index e8cdf78f5..9a932d2a7 100644 --- a/LearningHub.Nhs.WebUI/Views/Resource/_RatingSummary.cshtml +++ b/LearningHub.Nhs.WebUI/Views/Resource/_RatingSummary.cshtml @@ -65,7 +65,7 @@
5 star
-
+
@Model.RatingSummary.Rating5StarPercent%
@@ -74,7 +74,7 @@
4 star
-
+
@Model.RatingSummary.Rating4StarPercent%
@@ -83,7 +83,7 @@
3 star
-
+
@Model.RatingSummary.Rating3StarPercent%
@@ -92,7 +92,7 @@
2 star
-
+
@Model.RatingSummary.Rating2StarPercent%
@@ -101,7 +101,7 @@
1 star
-
+
@Model.RatingSummary.Rating1StarPercent%