On Thu, 22 Jan 2026 15:21:24 GMT, Hannes Wallnöfer <[email protected]> wrote:
> Please review a workaround for an accessibility issue in the JavaDoc dark > theme. The color used for links in the dark theme does not have enough > contrast from normal text according to WCAG 2. The workaround adds > underlining to links in mixed content in the dark theme to make links easier > to recognize. The change is implemented with a single nested CSS rule in the > block that defines the dark theme settings. > > Generated documentation can be viewed here: > https://cr.openjdk.org/~hannesw/8373679/api.00/java.base/java/lang/package-summary.html > (java.base module only, change affects dark theme only) > > Compliance of generated docs with WCAG 2 contrast requirements was tested > with various A11Y tools. This pull request has now been integrated. Changeset: 37cb2282 Author: Hannes Wallnöfer <[email protected]> URL: https://git.openjdk.org/jdk/commit/37cb22826a8f644c699228b8a68852b59933ead5 Stats: 8 lines in 2 files changed: 7 ins; 0 del; 1 mod 8373679: Link color accessibility issue in dark theme Reviewed-by: liach, nbenalla ------------- PR: https://git.openjdk.org/jdk/pull/29364
