On Thu, 5 Mar 2026 19:52:36 GMT, Jeremy Wood <[email protected]> wrote:
> With this PR: VoiceOver correctly identifies a JToggleButton as a "toggle > button" (instead of a "checkbox") > > This adds the subrole of NSAccessibilityToggleSubrole (which Accessibility > Inspector shows as the subrole "AXToggle"). > > > In the screenshot the subrole appears as expected, and the "class" (in the > "element") section is different from production: > > <img width="1920" height="1080" alt="toggled button fixed" > src="https://github.com/user-attachments/assets/b449e273-c089-4930-a968-9ea8643f3ac0" > /> This pull request has now been integrated. Changeset: ac242550 Author: Jeremy Wood <[email protected]> Committer: Alexander Zuev <[email protected]> URL: https://git.openjdk.org/jdk/commit/ac242550fea72a3c37e61014f5204f72e27e2cbd Stats: 83 lines in 3 files changed: 82 ins; 0 del; 1 mod 8379347: VoiceOver Doesn't Correctly Identify JToggleButtons as "toggle buttons" Reviewed-by: honkar, kizune, prr ------------- PR: https://git.openjdk.org/jdk/pull/30096
