IceCubesApp icon indicating copy to clipboard operation
IceCubesApp copied to clipboard

Add accessibility labels to buttons in compose screen.

Open TheQuinbox opened this issue 2 years ago • 2 comments

I've added .accessibilityLabel modifiers to all the buttons in the compose screen that needed it, other than the OpenAI features one, as I couldn't find the code for it, and am not entirely sure what it does.

Do I have to add these strings to a localization file somewhere? apologies, I'm very new to Xcode and iOS development still.

TheQuinbox avatar Feb 10 '23 17:02 TheQuinbox

Awesome! Thanks!

Yes it would be nice if you could create a key for each, look at Localizable.strings and add them here. You can create a new prefix for accessibility keys. Like accessibility.editor.button.drafts = "Drafts"; for exemple. You need to add them in all files. Leave it in English for now everywhere and then it'll be translated later.

Dimillian avatar Feb 10 '23 17:02 Dimillian

Alright, all done :)

TheQuinbox avatar Feb 10 '23 17:02 TheQuinbox

Oh, okay i see. Sorry, new like I said haha. Also gone ahead and created a marker :)

TheQuinbox avatar Feb 10 '23 18:02 TheQuinbox