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";
>  />

Marked as reviewed by prr (Reviewer).

@azuev-java please review
Also @honkar-jdk please review

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

PR Review: https://git.openjdk.org/jdk/pull/30096#pullrequestreview-4017440959
PR Comment: https://git.openjdk.org/jdk/pull/30096#issuecomment-4138336127

Reply via email to