Skip to content

Commit af4e8bf

Browse files
committed
fix: expose nested widget accessibility identifiers
1 parent 74149df commit af4e8bf

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Bitkit/Components/Widgets/BaseWidget.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ struct BaseWidget<Content: View>: View {
191191
}
192192
}
193193
.contentShape(Rectangle())
194+
.accessibilityElement(children: .contain)
194195
.accessibilityIdentifierIfPresent(isEditing ? nil : "\(type.rawValue.capitalized)Widget")
195196
.frame(maxWidth: .infinity)
196197
.padding((hasBackground || isEditing) ? 16 : 0)

0 commit comments

Comments
 (0)