Support » Plugin: WP Accessibility » High Contrast Custom CSS

  • Resolved Back to Front


    Hi I couldn’t find any class for High Contrast to be able to select for custom styles –
    (As in Large Text has .fontsize class)

    Sorry if this is a silly question but how can I apply custom styles for High Contrast in an update-proof way?

    Thanks for the plugin,
    pretty much works great of the box just the toggles need some little css tweaks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Joe Dolson


    There isn’t one; contrast is operated via an added stylesheet. You can customize that by placing a stsylesheet called a11y-contrast.css in your theme’s stylesheet directory.

    Plugin Author Joe Dolson


    Actually, I’ll correct that – there *is* a class added, .contrast. The plug-in doesn’t make any use of it, but there’s no reason that you couldn’t.

    Thanks! The .contrast class is really useful for me just to correct a couple of styles that are illegible in high contrast.

    Creating a child theme stylesheet just for high contrast would also be really useful to get really specific!

    Thanks for the great plugin and support!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘High Contrast Custom CSS’ is closed to new replies.