Post

Replies

Boosts

Views

Activity

[SwiftUI - A11Y] question the reorder button in the list that state on edit mode
<!! Caution, I'm not good at English, you may unable to understand for reading and understanding. !!> I'm a researcher and consultant for the web & mobile-native platform app accessibility in South Korea. in our team, each member takes charge for each platform, web, android, iOS. I'm in charge swiftUI. I tried to make a list that can reorder following next steps. I made a Custom View struct adopting View Protocol I declared variable property named 'fruit', type of [String] as @State. I declared VStack at the body as root layout. List container is in the VStack. ForEach(DynamicContentView) is iterated as Text() component into that List. for the 'ForEach', I used 'onMove(perform:)' modifier for implementing reorder by drag and drop. And last, for the 'List' container, I used 'environment' modifier to assign a 'EditMode.active' value to 'editMode' environment. There didn't seem to be any problems without using VoiceOver. but, there's some problem with VoiceOver. VoiceOver doesn't announce a dropped item's location(e.g. moved above Item, moved below Item) No custom action for move included there. in UIKit, Each reorder button has a move actions(move up, move down). How can I solve this on swiftUI?
0
0
324
Dec ’23