On Wed, 1 Apr 2026 21:11:49 GMT, Phil Race <[email protected]> wrote:

>> 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.

I assume this problem appears across all macOS versions, but only macOS 26 has 
a solution.

The VPAT testers who originally brought this up only had access to macOS 26 
devices (as do I).

(Our current work-around is to use `new AccessibleRole("AXHeading") {}`, which 
VoiceOver identifies correctly. That implies (?) we might be able to add an 
`else` in this code and somehow return "AXHeading", but the last time I 
proposed an "AX[Name]" NSString it was [strongly 
discouraged](https://github.com/openjdk/jdk/pull/29686#issuecomment-3899448303).)

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

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

Reply via email to