Skip to content

Commit 6815e85

Browse files
committed
Add accessibility label to image
1 parent 8b32428 commit 6815e85

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

GOVKit/Sources/GOVKit/SwiftUIViews/GroupedList/GroupedListSectionIconView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ struct GroupedListSectionIconView: View {
2424
.foregroundStyle(Color(UIColor.govUK.text.trailingIcon))
2525
.padding(.trailing, 16)
2626
.padding(.vertical, 8)
27+
.accessibilityLabel(Text(section.heading?.title ?? ""))
2728
}
2829
.background(Color(UIColor.govUK.fills.surfaceListHeading))
2930
Divider()

0 commit comments

Comments
 (0)