RFR: 8361379: [macos] Refactor accessibility code to retrieve attribute by name

Andy Goryachev angorya at openjdk.org
Tue Jul 8 21:31:54 UTC 2025


On Thu, 3 Jul 2025 22:17:01 GMT, Alexander Zuev <kizune at openjdk.org> wrote:

> - Copyright year update;
> - Introduce new function requestNodeAttribute and refactor code to use it;
> - Fix some typos;
> - Enable new code to handle TabPages since TabGroup was implemented;

modules/javafx.graphics/src/main/native-glass/mac/a11y/AccessibleBase.m line 50:

> 48:     [rolesMap setObject:@"JFXButtonAccessibility" forKey:@"SPLIT_MENU_BUTTON"];
> 49:     [rolesMap setObject:@"JFXRadiobuttonAccessibility" forKey:@"RADIO_BUTTON"];
> 50:     [rolesMap setObject:@"JFXRadiobuttonAccessibility" forKey:@"TAB_ITEM"];

this change seems unrelated - is it a part of some other work?

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1840#discussion_r2193474924


More information about the openjfx-dev mailing list