This reverts a PR from a few months ago and applies a simpler 2-line solution.

This is briefly discussed here:
https://github.com/openjdk/jdk/pull/30251#issuecomment-4307964833

The unit test 
/jdk/test/jdk/javax/accessibility/8377745/VoiceOverHyperlinkRole.java is 
unchanged, and it passes in this PR.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - 8377745: applying simpler solution via accessibilityRole()
 - 8377745: reverting previous solution

Changes: https://git.openjdk.org/jdk/pull/30910/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30910&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8377745
  Stats: 105 lines in 3 files changed: 2 ins; 103 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/30910.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/30910/head:pull/30910

PR: https://git.openjdk.org/jdk/pull/30910

Reply via email to