Given that a TextView with "View privacy settings and legal disclaimer". Where "privacy settings" and "legal disclaimer" are the attributed strings created in similar fashion as following link:
https://stackoverflow.com/a/38574043/12413715
let style = NSMutableParagraphStyle()
style.alignment = .center
footerAttributedString.addAttributes([NSAttributedString.Key.foregroundColor: AppConstants.Tokens.Font.default,
NSAttributedString.Key.font: SFProText.regular.of(size: 13),
NSAttributedString.Key.paragraphStyle: style],
range: NSRange(location: 0, length: footerString.count))
/// .... and so on
How to increase the height of the touch detection area for meeting accessibility guidelines on iOS (having minimum 44 px for interactive button heights)?
Thanks in advance!
This month the Design System team will talk about the development and rollout of their new accessibility tests for components.
Watch Video
Hosted by Digital.gov and the U.S. Web Design System