From bfa586297775c51b592291c99bd867c773769041 Mon Sep 17 00:00:00 2001 From: David Vader <48764154+davidvader@users.noreply.github.com> Date: Thu, 14 Nov 2019 14:47:44 -0600 Subject: [PATCH] Hotfix: adding aria labels to build history links (#22) --- src/elm/Build.elm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/elm/Build.elm b/src/elm/Build.elm index fec98036f..ec2155706 100755 --- a/src/elm/Build.elm +++ b/src/elm/Build.elm @@ -353,7 +353,11 @@ recentBuild now timezone org repo build idx = icon = recentBuildStatusToIcon build.status idx in - a [ class "-build", Routes.href <| Routes.Build org repo <| String.fromInt build.number ] + a + [ class "-build" + , Routes.href <| Routes.Build org repo <| String.fromInt build.number + , attribute "aria-label" <| "go to previous build number " ++ String.fromInt build.number + ] [ icon |> SvgBuilder.toHtml [ attribute "aria-hidden" "true" ] [] , div [ class "-tooltip", Util.testAttribute "build-history-tooltip" ] [ div [ class "-info" ]