IceCubes/IceCubesApp/App/Tabs/Settings
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
..
AboutView.swift SwiftFormat 2023-03-13 13:38:28 +01:00
AccountSettingView.swift SwiftFormat 2023-03-13 13:38:28 +01:00
AddAccountsView.swift SwiftFormat 2023-03-13 13:38:28 +01:00
ContentSettingsView.swift SwiftFormat 2023-03-13 13:38:28 +01:00
DisplaySettingsView.swift SwiftFormat 2023-03-13 13:38:28 +01:00
HapticSettingsView.swift
IconSelectorView.swift Icons: Remove wrong username 2023-02-28 21:33:33 +01:00
InstanceInfoView.swift Swiftformat 2023-02-26 06:45:57 +01:00
PushNotificationsView.swift Change arrows icon to rocket for boosts (#1099) 2023-02-28 14:53:31 +01:00
SettingsTab.swift Settings screen Accessibility tweaks (#1258) 2023-03-17 06:38:50 +01:00
SupportAppView.swift SwiftFormat 2023-03-13 13:38:28 +01:00
SwipeActionsSettingsView.swift Swiftformat . 2023-02-22 19:09:39 +01:00
TranslationSettingsView.swift Remove an unnecessary icon. (#1256) 2023-03-17 06:06:56 +01:00