On Wed, 1 Apr 2026 19:14:18 GMT, Phil Race <[email protected]> wrote: >> On Mac OS: a "heading" has a special semantic meaning for assistive >> technologies. It is a more accurate/useful role than "header" (which is a >> Java construct and doesn't directly map to a Mac OS feature) > > src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/CommonComponentAccessibility.m > line 853: > >> 851: } else if ( [javaRole isEqualToString:@"header"]) { >> 852: if (@available(macOS 26, *)) { >> 853: fNSRole = NSAccessibilityHeadingRole; > > Until I get to here it isn't mentioned anywhere in the JBS issue or PR that > this is a macOS26+ fix. > Does that mean there is actually no VoiceOver bug on earlier macOS releases ? > Or what .. ?
Sorry; I'm not familiar with the protocols for disclosing everything. The code refers to 26 simply because otherwise I get a compiler error: <img width="1862" height="883" alt="image" src="https://github.com/user-attachments/assets/b5bece38-2b50-4ed4-be36-c638d1cc1f2d" /> ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/30251#discussion_r3024577126
