Consider providing a setting for sans-serif font in API docs

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None

      People have deep-seated preferences regarding reading fonts, but the question of serif vs. sans-serif fonts also has an accessibility aspect. While for people with good vision, serif fonts are usually easy and a bit faster to read, sans-serif fonts tend to be harder to read for people with low vision.

      https://www.section508.gov/develop/fonts-typography/

      With our support for themes, it would be quite easy and unobtrusive to extend the theme switcher with a setting to switch between serif and sans-serif fonts.

      To experiment with the feature I've built a prototype with a font setting added to the theme switcher:

      https://cr.openjdk.org/~hannesw/font-selector/api.00/java.base/java/lang/package-summary.html

            Assignee:
            Hannes Wallnoefer
            Reporter:
            Hannes Wallnoefer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: