Skip to content

Commit f089329

Browse files
authored
fix(Buttons): Remove role=presentation and aria-hidden from fake buttons (#1392)
1 parent b38e89c commit f089329

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ const BaseButton = React.forwardRef<
458458
}
459459

460460
if (props.fake) {
461-
return <BaseTouchable maybe {...commonProps} role="presentation" aria-hidden="true" />;
461+
return <BaseTouchable maybe {...commonProps} />;
462462
}
463463

464464
if (props.submit) {

0 commit comments

Comments
 (0)