On Mon, 14 Sep 2026 08:21:40 GMT, Hannes Wallnöfer <[email protected]> wrote:

> Please review a change to allow users to enable or disable underlining of 
> links in the theme settings panel. 
> 
> The current situation is that the dark theme [requires underlined 
> links](https://bugs.openjdk.org/browse/JDK-8373679) in text in dark theme to 
> satisfy WCAG 2 requirements while the light theme does not. However, 
> experiments with a color blindness simulator show that links in the light 
> theme [may actually be more challenging to 
> recognize](https://cr.openjdk.org/~hannesw/8373679/color-sim/) for color 
> blind people. The upcoming WCAG 3 standard will introduce an [improved color 
> contrast 
> model](https://www.accessibilitychecker.org/blog/apca-advanced-perceptual-contrast-algorithm/)
>  which may change compliance requirements.
> 
> With the possibility to adjust the appearance of links we offer the most 
> flexibility for users and are prepared for future changes.
> 
> Sample documentation with the new theme switcher [are available 
> here](https://cr.openjdk.org/~hannesw/8376208/api.01/java.base/java/lang/package-summary.html).
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: fde29d7b
Author:    Hannes Wallnöfer <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/fde29d7bf5f428e8af7479569695f6bdfb121648
Stats:     138 lines in 8 files changed: 103 ins; 15 del; 20 mod

8376208: Provide browser setting for underlined links

Reviewed-by: liach

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

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

Reply via email to