Skip to content

Commit

Permalink
8208747: [a11y] [macos] In Optionpane Demo, inside ComponentDialog Ex…
Browse files Browse the repository at this point in the history
…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 49f622c
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

1 comment on commit 49f622c

@openjdk-notifier
Copy link

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.