Skip to content
Permalink
Browse files
8208747: [a11y] [macos] In Optionpane Demo, inside ComponentDialog Ex…
…ample, unable to navigate to all items, with VO on

Reviewed-by: pbansal
  • Loading branch information
Alexander Zuev committed May 24, 2021
1 parent 54520fb commit 49f622c9473464bf1d1f33b88abf46adadd9fa1c
Showing 1 changed file with 8 additions and 0 deletions.
@@ -896,6 +896,14 @@ - (BOOL)accessibilityIsIndexAttributeSettable
return NO;
}

- (NSInteger)accessibilityIndex {
int index = 0;
if (fParent != NULL) {
index = [fParent accessibilityIndexOfChild:self];
}
return index;
}

/*
* The java/lang/Number concrete class could be for any of the Java primitive
* numerical types or some other subclass.

1 comment on commit 49f622c

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 49f622c May 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.