On Fri, 13 Feb 2026 22:15:31 GMT, Jeremy Wood <[email protected]> wrote:

>> ~~If we use `new AccessibleRole("AXLink") {}`, then VoiceOver reads this 
>> more like other native apps.~~
>> 
>> ~~There isn't a similar precedent in CAccessibility for creating custom 
>> AccessibleRoles, so I won't mind if this PR is declined. (But I don't know 
>> off the top of my head where else to inject code to get the desired 
>> result...)~~
>> 
>> This introduces a new LinkAccessibility.m file to help VoiceOver and 
>> Accessibility Inspector correctly identify AccessibleRole.HYPERLINK as "link"
>
> Jeremy Wood has updated the pull request incrementally with two additional 
> commits since the last revision:
> 
>  - 8377745: creating new LinkAccessibility
>    
>    This helps convert from AccessibleRole.HYPERLINK to the new 
> LinkAccessibility.
>    
>    The new LinkAccessible still references 
> `CommonTextAccessibility<NSAccessibilityStaticText>`.
>    
>    This (both the subject matter and the programming language) is outside of 
> my area of expertise, but the unit test passes.
>    
>    This is based on this feedback:
>    https://github.com/openjdk/jdk/pull/29686#issuecomment-3899448303
>  - Revert "8377745: use custom "AXLink" AccessibleRole"
>    
>    This reverts commit d66355973918458352d15174a2cf21a177763c23.

@mickleness 
Your change (at version 96159c5179a1cd61085c49fc12581d9cab9bb873) is now ready 
to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/29686#issuecomment-3943492126

Reply via email to