We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db88ec9 commit ee5b304Copy full SHA for ee5b304
src/helpers/accessiblity.ts
@@ -5,11 +5,7 @@ import {
5
} from 'react-native';
6
import { ReactTestInstance } from 'react-test-renderer';
7
import { getHostSiblings, getUnsafeRootElement } from './component-tree';
8
-import {
9
- getHostComponentNames,
10
- isHostText,
11
- isHostTextInput,
12
-} from './host-component-names';
+import { getHostComponentNames, isHostText } from './host-component-names';
13
import { getTextContent } from './text-content';
14
15
type IsInaccessibleOptions = {
@@ -145,10 +141,6 @@ export function getAccessibilityRole(element: ReactTestInstance) {
145
141
return 'text';
146
142
}
147
143
148
- if (isHostTextInput(element)) {
149
- return 'textbox';
150
- }
151
-
152
144
return 'none';
153
154
0 commit comments