Skip to content

Commit bfa5862

Browse files
plyr4Neal
authored and
Neal
committed
Hotfix: adding aria labels to build history links (#22)
1 parent 27a1f6c commit bfa5862

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/elm/Build.elm

+5-1
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,11 @@ recentBuild now timezone org repo build idx =
353353
icon =
354354
recentBuildStatusToIcon build.status idx
355355
in
356-
a [ class "-build", Routes.href <| Routes.Build org repo <| String.fromInt build.number ]
356+
a
357+
[ class "-build"
358+
, Routes.href <| Routes.Build org repo <| String.fromInt build.number
359+
, attribute "aria-label" <| "go to previous build number " ++ String.fromInt build.number
360+
]
357361
[ icon |> SvgBuilder.toHtml [ attribute "aria-hidden" "true" ] []
358362
, div [ class "-tooltip", Util.testAttribute "build-history-tooltip" ]
359363
[ div [ class "-info" ]

0 commit comments

Comments
 (0)