Remove aria-pressed attr from button. Closes #6325 (#6402)

This commit is contained in:
Paul Coroneos
2024-11-19 13:07:13 -06:00
committed by GitHub
parent 103dfe2145
commit 5d7cfa0206
-1
View File
@@ -458,7 +458,6 @@ export const Button = React.forwardRef<View, ButtonProps>(
// @ts-ignore - this will always be a pressable
ref={ref}
aria-label={label}
aria-pressed={state.pressed}
accessibilityLabel={label}
disabled={disabled || false}
accessibilityState={{