diff --git a/src/pages/home/report/ReportActionItemSingle.js b/src/pages/home/report/ReportActionItemSingle.js index fa299858c338..3e49dfe621c4 100644 --- a/src/pages/home/report/ReportActionItemSingle.js +++ b/src/pages/home/report/ReportActionItemSingle.js @@ -1,6 +1,6 @@ import lodashGet from 'lodash/get'; import React from 'react'; -import {View, Pressable} from 'react-native'; +import {View} from 'react-native'; import PropTypes from 'prop-types'; import _ from 'underscore'; import reportActionPropTypes from './reportActionPropTypes'; @@ -21,6 +21,7 @@ import CONST from '../../../CONST'; import SubscriptAvatar from '../../../components/SubscriptAvatar'; import reportPropTypes from '../../reportPropTypes'; import * as UserUtils from '../../../libs/UserUtils'; +import PressableWithoutFeedback from '../../../components/Pressable/PressableWithoutFeedback'; import UserDetailsTooltip from '../../../components/UserDetailsTooltip'; const propTypes = { @@ -85,11 +86,13 @@ function ReportActionItemSingle(props) { return ( - showUserDetails(actorAccountID)} + accessibilityLabel={actorEmail} + accessibilityRole="button" > {props.shouldShowSubscriptAvatar ? ( @@ -111,15 +114,17 @@ function ReportActionItemSingle(props) { )} - + {props.showHeader ? ( - showUserDetails(actorAccountID)} + accessibilityLabel={actorEmail} + accessibilityRole="button" > {_.map(personArray, (fragment, index) => ( ))} - + ) : null}