Add accessibility features: high contrast, blue filter, grayscale, image toggle, and cursor size adjustments
- Implemented high contrast mode toggle with state persistence. - Added blue filter toggle with visual effect and state persistence. - Introduced grayscale mode toggle with state persistence. - Included option to hide/show images with state persistence. - Added functionality to increase/decrease cursor size with visual feedback. - Enhanced font size controls with increment, decrement, and reset options. - Updated accessibility panel UI and button labels for clarity. - Ensured all new features are accessible and maintain user preferences across sessions.
This commit is contained in:
@@ -1607,4 +1607,12 @@ body.high-contrast {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
body.blue-filter {
|
||||
filter: sepia(20%) hue-rotate(180deg) brightness(90%);
|
||||
}
|
||||
|
||||
html.grayscale {
|
||||
filter: grayscale(100%);
|
||||
}
|
||||
Reference in New Issue
Block a user