<AWT Dev> RFR: 8261352: Create implementation for component peer for all the components who should be ignored in a11y interactions

Alexander Zuev kizune at openjdk.java.net
Wed Mar 17 15:53:51 UTC 2021


On Wed, 17 Mar 2021 01:39:10 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Initial implementation
>> Moved the CAccessibility ignore list initialization to the new code
>> Some cleanup
>> Expose a new API - isAccessibilityElement instead of deprecated accessibilityIsIgnored
>
> src/java.desktop/macosx/native/libawt_lwawt/awt/JavaComponentAccessibility.m line 284:
> 
>> 282: 
>> 283:     if (sRoles == nil) {
>> 284:         initializeRoles();
> 
> Do we need to delete the JavaAccessibilityIgnore roles from the "sRoles"?

Not right now, there is a legacy code that still uses it and until i am ready to remove all of it i want to keep everything functioning - if anything for the comparison stakes. In the end the entire sRoles map will be eliminated.

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

PR: https://git.openjdk.java.net/jdk/pull/3015


More information about the awt-dev mailing list