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

Andy Goryachev angorya at openjdk.org
Tue Jul 8 22:00:44 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;

I don't see any obvious issues in the monkey tester with the Logging -> Accessibility enabled.

Here, for example, what it logs for the focusable label:


{time:1752011850468, log:"accessibility", "TEXT":""[🇺🇦❤️🇺🇸🦋🏁🔥\n😀😃😄😁😆😅🤣😂\n🙂🙃😉😊😇]""}
{time:1752011850468, log:"accessibility", "ROLE":""TEXT""}
{time:1752011850468, log:"accessibility", "LABELED_BY":"null"}

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

PR Comment: https://git.openjdk.org/jfx/pull/1840#issuecomment-3050405287


More information about the openjfx-dev mailing list