jerboa
jerboa copied to clipboard
Add contentDescription to all relevant components
Hopefully I didn't miss anything. There are still some components with contentDescription = null
because they don't represent anything by themselves and/or don't have any actions, for example the icons in settings menu items.
Fixes #175.
This will have to come after https://github.com/dessalines/jerboa/pull/447 so you'll probably have to merge from therei
Some of the strings seem a bit wordy. For the bottomBar may i suggest "Home" "Communities" "Notifications" "Bookmarks" and "Profile"?
Otherwise this looks fantastic
Edit: the personProfile_viewAvatar and personProfile_viewBanner should likely say " Avatar image" and "Banner image" unless i am misunderstanding and they are buttons.
#447 is merged now, so you can merge from main.
I'll make sure to grep for all those contentDescriptions
to make sure we've got them all before I approve.
There are some conflicts where #447 adds a specific key and I have added a more generic one (e.g. create_report_back
vs goBack
), which should I keep?
Also for @shortwavesurfer2009's comment, I'm not sure which way would be best so it's up to @dessalines.
the personProfile_viewAvatar and personProfile_viewBanner should likely say " Avatar image" and "Banner image" unless i am misunderstanding and they are buttons
They open up the image in the image viewer when pressed, so they kinda are buttons.
goBack
is probably fine.
They open up the image in the image viewer when pressed, so they kinda are buttons.
I'm good either way, I don't know if there's a convention for image buttons, but the word button seems fine.
I imagine most of the strings already exist in strings.xml, so only create new ones if its really necessary. I leave the rest up to you.
Should be good now.
Most of them are set to null on purpose, I'm thinking of adding some constant that's set to null to indicate that it's unnecessary.
Is there anything blocking this?
@pipe01 If you can fix the merge conflicts I'll merge it right away
Done