IceCubesApp/Packages/AppAccount/Sources/AppAccount
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
..
AppAccount.swift oops 2023-02-14 14:15:31 +01:00
AppAccountsManager.swift Updated to resolve all possible Sendability warnings from Swift 6 compatibility mode. (#1072) 2023-02-27 06:39:07 +01:00
AppAccountsSelectorView.swift Use 'Done' text on accounts selector (#1245) 2023-03-14 12:17:05 +01:00
AppAccountView.swift Settings screen Accessibility tweaks (#1258) 2023-03-17 06:38:50 +01:00
AppAccountViewModel.swift All new accounts selector 2023-03-08 19:02:31 +01:00