- improved detection of false positives for dynamic type size

- improved also a11y for the knock request message
- improved a11y for reply view
This commit is contained in:
Mauro Romito
2025-07-21 17:51:09 +02:00
committed by Mauro
parent dac4c985d6
commit 8a66cbad68
39 changed files with 83 additions and 77 deletions
@@ -101,13 +101,14 @@ class AccessibilityTestsAppCoordinator: AppCoordinatorProtocol {
struct PreviewsWrapperView: View {
let wrapper: PreviewsWrapper
@Environment(\.dynamicTypeSize) var dynamicTypeSize
var body: some View {
if wrapper.currentIndex < 0 || wrapper.isDone {
EmptyView()
} else {
wrapper.currentPreview.content
.id(wrapper.previewName)
.id("\(wrapper.previewName)-\(dynamicTypeSize)")
}
}
}