Integrated: 8284542: [Accessibility] [Win] Missing attribute for toggle state of CheckBox in CheckBoxTreeItem
Ambarish Rapte
arapte at openjdk.org
Wed May 17 16:49:01 UTC 2023
On Wed, 12 Apr 2023 15:13:25 GMT, Ambarish Rapte <arapte at openjdk.org> wrote:
> Issue:
> CheckBoxTreeItem extends TreeItem and adds a CheckBox.
> The state of this CheckBox is not visible to an accessibility client application.
> If we analyze a simple program that contains a CheckBoxTreeItem using a windows application "Accessibility Insights for Window", we can notice that toggle state of CheckBox is not exposed.
>
> Fix:
> Include the [Toggle Control Pattern](https://learn.microsoft.com/en-us/windows/win32/winauto/uiauto-implementingtoggle) in Accessibility information of a CheckBoxTreeItem in addition to the patterns that are used for a TreeItem.
>
> Verification:
> On Windows: Do the following with and without the fix.
> 1. Run the sample program attached to JBS issue.
> 2. Launch "Accessibility Insights for Window"
> 3. Observe that patterns section for each item
> 4. Select / de-select the CheckBoxes and observe the patterns section for correctness of toggle state.
This pull request has now been integrated.
Changeset: bdadcb2c
Author: Ambarish Rapte <arapte at openjdk.org>
URL: https://git.openjdk.org/jfx/commit/bdadcb2c99ae5ffb8deb88d1591b9691016ac646
Stats: 141 lines in 5 files changed: 134 ins; 0 del; 7 mod
8284542: [Accessibility] [Win] Missing attribute for toggle state of CheckBox in CheckBoxTreeItem
Reviewed-by: kcr, kizune, angorya
-------------
PR: https://git.openjdk.org/jfx/pull/1088
More information about the openjfx-dev
mailing list