mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 16:24:11 +00:00
session verification request details is grouped and the avatar has its accessibility hidden
This commit is contained in:
@@ -92,7 +92,8 @@ final class AccessibilityTests: XCTestCase {
|
||||
|
||||
/// Use this array to filter add specific filters to ignore specific issues for certain elements
|
||||
private static let ignoredA11yIdentifiers: [String: [FilterType]] = [A11yIdentifiers.authenticationStartScreen.appVersion: [.auditType(.hitRegion)],
|
||||
A11yIdentifiers.pollView.summary: [.auditType(.hitRegion)]]
|
||||
A11yIdentifiers.pollView.summary: [.auditType(.hitRegion)],
|
||||
A11yIdentifiers.serverConfirmationScreen.serverPicker: [.compactDescription(notHumanReadableMessage)]]
|
||||
}
|
||||
|
||||
private enum FilterType {
|
||||
|
||||
+2
@@ -32,6 +32,7 @@ struct SessionVerificationRequestDetailsView: View {
|
||||
contentID: details.senderProfile.userID,
|
||||
avatarSize: .user(on: .sessionVerification),
|
||||
mediaProvider: mediaProvider)
|
||||
.accessibilityHidden(true)
|
||||
|
||||
VStack(alignment: .leading, spacing: 0) {
|
||||
Text(details.senderProfile.displayName ?? details.senderProfile.userID)
|
||||
@@ -45,6 +46,7 @@ struct SessionVerificationRequestDetailsView: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
.accessibilityElement(children: .combine)
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
.padding(12)
|
||||
.background(.compound.bgSubtleSecondary)
|
||||
|
||||
Reference in New Issue
Block a user