accessibilityLabel is not working for header buttons
vineelk8 opened this issue · comments
Below is the code in headerOptions:
props.navigation.setOptions({ headerLeft: () => ( <HeaderButtons HeaderButtonComponent={HeaderIcon}> <Item accessible accessibilityLabel="back" title="back" iconName="arrow-back" color={Colors.bokaraGrey} onPress={onDataDraft} /> </HeaderButtons> ), });
And HeaderIcon component:
const HeaderIcon = props => { return ( <HeaderButton {...props} IconComponent={MaterialIcons} iconSize={24} /> ); };
accessibility Label (content-desc) is not showing in the Automator?
hello, thank you for reporting, I am sorry but I do not have much spare time, it'll be best if you investigate this yourself and open a PR with a fix, thank you!
as per #156 this was just a problem with typings, and should be fixed now. thank you! :)