High contrast (sandbox)
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Component created
Component changed
Component body
The development of this module continued at https://www.drupal.org/project/high_contrast
Provides a quick solution to allow the user to switch between the active theme and a high contrast version of it.
This high contrast version is automatically generated adding a stylesheet which overrides the defined CSS rules.
The generated stylesheet might not adapt perfectly your site, so High contrast provides a settings page which allows to adjust the added CSS. It lets also to change the widget used to change between High or Normal contrast.
Themers can use theme("high_contrast_switcher") function instead of the provided block to render the switcher on any part of the theme.
Installation
- Enable the module as usual
- Find the block "High contrast switcher" on the administer blocks screen, and place it in the desired region
- Click on the "High contrast" link that will appear on the activated block and see how the high contrast version of your theme looks
- If you need it adjust the settings on example.com/admin/settings/high-contrast
Notes
Currently it doesn't work properly if Cache is enabled
Credits
Module development sponsored by Cameron & Wilding
