Create new room - remove wrong header trait

This commit is contained in:
Mauro Romito
2026-06-16 13:44:29 +02:00
committed by Mauro
parent b3f0402a4d
commit 8bcc7efc49
@@ -133,6 +133,7 @@ struct CreateRoomScreen: View {
}
}
.accessibilityLabel(L10n.a11yEditAvatar)
.accessibilityRemoveTraits(.isHeader)
.buttonStyle(.plain)
.accessibilityIdentifier(A11yIdentifiers.createRoomScreen.roomAvatar)
.confirmationDialog("", isPresented: $context.showAttachmentConfirmationDialog) {
@@ -168,6 +169,7 @@ struct CreateRoomScreen: View {
} header: {
Text(L10n.screenCreateRoomTopicLabel)
.compoundListSectionHeader()
.accessibilityRemoveTraits(.isHeader)
}
}
@@ -196,6 +198,7 @@ struct CreateRoomScreen: View {
} header: {
Text(L10n.screenCreateRoomRoomAddressSectionTitle)
.compoundListSectionHeader()
.accessibilityRemoveTraits(.isHeader)
} footer: {
VStack(alignment: .leading, spacing: 12) {
if let errorDescription = context.viewState.aliasErrors.errorDescription {