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) .accessibilityLabel(L10n.a11yEditAvatar)
.accessibilityRemoveTraits(.isHeader)
.buttonStyle(.plain) .buttonStyle(.plain)
.accessibilityIdentifier(A11yIdentifiers.createRoomScreen.roomAvatar) .accessibilityIdentifier(A11yIdentifiers.createRoomScreen.roomAvatar)
.confirmationDialog("", isPresented: $context.showAttachmentConfirmationDialog) { .confirmationDialog("", isPresented: $context.showAttachmentConfirmationDialog) {
@@ -168,6 +169,7 @@ struct CreateRoomScreen: View {
} header: { } header: {
Text(L10n.screenCreateRoomTopicLabel) Text(L10n.screenCreateRoomTopicLabel)
.compoundListSectionHeader() .compoundListSectionHeader()
.accessibilityRemoveTraits(.isHeader)
} }
} }
@@ -196,6 +198,7 @@ struct CreateRoomScreen: View {
} header: { } header: {
Text(L10n.screenCreateRoomRoomAddressSectionTitle) Text(L10n.screenCreateRoomRoomAddressSectionTitle)
.compoundListSectionHeader() .compoundListSectionHeader()
.accessibilityRemoveTraits(.isHeader)
} footer: { } footer: {
VStack(alignment: .leading, spacing: 12) { VStack(alignment: .leading, spacing: 12) {
if let errorDescription = context.viewState.aliasErrors.errorDescription { if let errorDescription = context.viewState.aliasErrors.errorDescription {