On Thu, 15 Jun 2023 15:58:18 GMT, Abhishek Kumar <abhis...@openjdk.org> wrote:

> The issue exist only for non-editable combobox and the root cause is 
> accessible object is not created due to incorrect index returned from 
> component class which results in no a11y API invoked.
> 
> Proposed solution is to return the correct accessible child from 
> getAccessibleChild method which is AquaComboBoxButton (arrowButton) instance 
> and that results in invoking the a11y APIs to return the current selected 
> item in combobox. 
> 
> Further when the application comes up first time the accessible name is not 
> set for current displayed item in JCombobox that is handled in 
> AquaComboBoxButton which will take care for the current selected item as well 
> as if user modifies the selection by drop-down list.
> 
> CI link is posted in JBS.

This pull request has now been integrated.

Changeset: de51aa19
Author:    Abhishek Kumar <abhis...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/de51aa19d6a8cbd3b83bf469cb89da16f4b6f498
Stats:     178 lines in 4 files changed: 167 ins; 2 del; 9 mod

8283214: [macos] Screen magnifier does not show the magnified text for JcomboBox

Co-authored-by: Alexey Ivanov <aiva...@openjdk.org>
Reviewed-by: asemenov, kizune, aivanov

-------------

PR: https://git.openjdk.org/jdk/pull/14497

Reply via email to