IceCubesApp/Packages
Chris Kolbu f728ea652e
Accessibility bug fixes (#1348)
* Fix bug affecting accessibillityRepresentation of type Toggle

Previously, the action on the button would not get executed. This is a SwiftUI bug, as views passed into `accessibilityRepresentation` should not have any behaviour.

Now, we set an equivalent `accessibilityValue` on|off to emulate the same functionality.

* Remove conditional ViewModifier in favour of inlined modifier

Since this view is part of the `StatusRowView` it’s better to err on the side of less branching with ModifiedContent<>

* Avoid combining StatusRowMediaPreviewView accessibility children

By combining the elements, the end result was that the intended action (opening QuickLook) was swallowed in favour of displaying the alt text alert of images.
2023-04-03 11:14:44 +02:00
..
Account Accessibility bug fixes (#1348) 2023-04-03 11:14:44 +02:00
AppAccount Timeline & Timeline detail accessibility uplift (#1323) 2023-03-28 18:48:58 +02:00
Conversations Timeline & Timeline detail accessibility uplift (#1323) 2023-03-28 18:48:58 +02:00
DesignSystem Timeline & Timeline detail accessibility uplift (#1323) 2023-03-28 18:48:58 +02:00
Env SwiftFormat . 2023-03-19 16:28:06 +01:00
Explore SwiftFormat 2023-03-13 13:38:28 +01:00
Lists Fix CustomEmoji Baseline Offset (#1188) 2023-03-06 15:21:26 +01:00
Models Restore HTMLString link parsing (#1347) 2023-04-01 15:47:12 +02:00
Network Allow translation of an account bio/note (#1276) 2023-03-19 16:18:13 +01:00
Notifications Timeline & Timeline detail accessibility uplift (#1323) 2023-03-28 18:48:58 +02:00
Status Accessibility bug fixes (#1348) 2023-04-03 11:14:44 +02:00
Timeline Timeline & Timeline detail accessibility uplift (#1323) 2023-03-28 18:48:58 +02:00