IceCubes/IceCubesApp/App
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
..
Report
Tabs Settings screen Accessibility tweaks (#1258) 2023-03-17 06:38:50 +01:00
AppRouter.swift SwiftFormat 2023-03-13 13:38:28 +01:00
IceCubesApp.swift SwiftFormat 2023-03-13 13:38:28 +01:00
QuickLookRepresentable.swift Swiftformat . 2023-02-22 19:09:39 +01:00
SafariRouter.swift Swiftformat 2023-02-21 07:23:42 +01:00
SideBarView.swift Add sound effects 2023-02-28 18:55:08 +01:00