On Wed, 1 Apr 2026 20:50:24 GMT, Jeremy Wood <[email protected]> wrote:

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

Yes, I get that you needed it because we still target compilation for some much 
older version of macOS (12 or 13) so that the binaries will run there (even if 
it isn't supported) 
I am trying to understand if when testing on macOS 26 you saw a problem you'd 
not seen on earlier macOS versions. 
Or if you see the problem on earlier macOS versions but only macOS 26 has a 
solution.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/30251#discussion_r3024689820

Reply via email to