IceCubesApp/Packages
Chris Kolbu c5b4a0dd07
Settings screen Accessibility tweaks (#1258)
* Remove `.button` trait from `Link`s on Account Settings screen

SwiftUI currently sets both the `.button` and `.link` traits on these elements, which is a failure for WCAG 2.1 4.12: Name, Role, Value: https://www.w3.org/WAI/WCAG21/Understanding/name-role-value.html

There is a radar for this issue: FB11507660

* Improve accessibility by making `AppAccountView`s a Button

Previously, the component elements of the `fullView` would be rendered as 3-4 individual views that would _all_ be interactive and perform the same action.

Now, as a Button, only one accessibility element is vended.

* Fix account label color

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-03-17 06:38:50 +01:00
..
Account SwiftFormat 2023-03-13 13:38:28 +01:00
AppAccount Settings screen Accessibility tweaks (#1258) 2023-03-17 06:38:50 +01:00
Conversations SwiftFormat 2023-03-13 13:38:28 +01:00
DesignSystem SwiftFormat 2023-03-13 13:38:28 +01:00
Env Fix build 2023-03-14 18:54:45 +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 ServerError: Fix 2023-03-13 13:42:32 +01:00
Network Add the ability to translate using deepl even if the instance offers its own service (#1237) 2023-03-14 18:50:19 +01:00
Notifications SwiftFormat 2023-03-13 13:38:28 +01:00
Status Always load translate 2023-03-16 07:09:59 +01:00
Timeline SwiftFormat 2023-03-13 13:38:28 +01:00