Mobile: Accessibility: Mark note properties buttons as buttons (#11432)

This commit is contained in:
Henry Heino
2024-11-22 10:48:18 +00:00
committed by GitHub
parent 1dd02f1746
commit 380ba28bac
@@ -91,7 +91,11 @@ const SideMenuContentNoteComponent: React.FC<Props> = props => {
if (!onPressHandler) return content; if (!onPressHandler) return content;
return ( return (
<TouchableOpacity key={key} onPress={onPressHandler}> <TouchableOpacity
key={key}
onPress={onPressHandler}
accessibilityRole='button'
>
{content} {content}
</TouchableOpacity> </TouchableOpacity>
); );