Skip to content

Commit 0b88745

Browse files
committed
Updated subtree-text behind feature flag
1 parent 5e38856 commit 0b88745

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/commons/text/subtree-text.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function skipByInlineOverflow(virtualNode) {
6868
}
6969

7070
function appendAccessibleText(contentText, virtualNode, context) {
71-
if (skipByInlineOverflow(virtualNode)) {
71+
if (context.ignoreNativeTextAlternative && skipByInlineOverflow(virtualNode)) {
7272
return contentText;
7373
}
7474

0 commit comments

Comments
 (0)