diff --git a/src/components/Pressable/GenericPressable/BaseGenericPressable.js b/src/components/Pressable/GenericPressable/BaseGenericPressable.js index 0b15378de8bc..066e14989930 100644 --- a/src/components/Pressable/GenericPressable/BaseGenericPressable.js +++ b/src/components/Pressable/GenericPressable/BaseGenericPressable.js @@ -35,7 +35,6 @@ const GenericPressable = forwardRef((props, ref) => { onKeyPress, disabled, style, - accessibilityHint, shouldUseHapticsOnLongPress, shouldUseHapticsOnPress, nextFocusRef, diff --git a/src/pages/home/HeaderView.js b/src/pages/home/HeaderView.js index 62c2ff786d27..d834a0f7a088 100644 --- a/src/pages/home/HeaderView.js +++ b/src/pages/home/HeaderView.js @@ -1,6 +1,6 @@ import _ from 'underscore'; import React from 'react'; -import {View, Pressable} from 'react-native'; +import {View} from 'react-native'; import PropTypes from 'prop-types'; import lodashGet from 'lodash/get'; import {withOnyx} from 'react-native-onyx'; @@ -27,6 +27,7 @@ import ONYXKEYS from '../../ONYXKEYS'; import ThreeDotsMenu from '../../components/ThreeDotsMenu'; import * as Task from '../../libs/actions/Task'; import reportActionPropTypes from './report/reportActionPropTypes'; +import PressableWithoutFeedback from '../../components/Pressable/PressableWithoutFeedback'; import PinButton from '../../components/PinButton'; const propTypes = { @@ -126,10 +127,12 @@ const HeaderView = (props) => { > {props.isSmallScreenWidth && ( - { - + )} {Boolean(props.report && title) && ( - ReportUtils.navigateToDetailsPage(props.report)} style={[styles.flexRow, styles.alignItemsCenter, styles.flex1]} disabled={isTaskReport} + accessibilityLabel={title} + accessibilityRole="button" > {shouldShowSubscript ? ( { /> )} - + {shouldShowCallButton && (