RFR: JDK-8311113: Remove invalid pointer cast and clean up setLabel() in awt_MenuItem.cpp

Harshitha Onkar honkar at openjdk.org
Thu Aug 31 00:38:15 UTC 2023


On Wed, 30 Aug 2023 23:38:01 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> > Isn't JAWS using Accessible interfaces?
> 
> What about Narrator? I think it will use the actuall data from the windows, same as for other "native" awt components. Unlike JAWS which know how to use our internal a11y interface.

Checked with Narrator and JAWS. It works the same in both cases - with and without the changes.

In case of JAWS, it reads out label names  as in "Item-1" and the changed labels "New Item-1".
In case of narrator, it announces just the component name as in "Menu" , "Menu item" and not the label name itself and it works the same with and without the changes.

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

PR Comment: https://git.openjdk.org/jdk/pull/15276#issuecomment-1700089609


More information about the client-libs-dev mailing list