Skip to content

argomod/UnderlineNav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Underline Nav in SwiftUI

Underline Nav is a custom segmented control that utilizes SwiftUI's TabView.

Accessibility improvements allow VoiceOver users to swipe up/down to activate different tabs and swipe right/left to skip to the content—a quick and intuitive experience.

All feedback welcome.

Two screenshots of Underline Nav; one focused on the fifth tab and the other with VoiceOver enabled reading "Currently on three".

Why?

For assistive technology users, custom segmented controls such as underline navigations typically require a user to swipe through every single tab before arriving to the desired content. This can be a confusing and tedious experience.

SwiftUI's accessibilityAdjustableAction affords a custom mode of interaction, which I've used here to create a secondary navigation inside Underline Nav.

Credits

About

A VoiceOver accessible underline nav in SwiftUI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages