Skip to content

Commit

Permalink
Fix: Add 'a11y-invert' class selector (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirsty-hames authored Mar 20, 2023
1 parent fde7968 commit b9756d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/adapt-visua11y.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ class Visua11y extends Backbone.Controller {
// Add high contrast html class
$html
.toggleClass('a11y-high-contrast', this.highContrast)
.toggleClass('a11y-invert', this.invert)
.toggleClass('a11y-no-animations', this.noAnimations)
.toggleClass('a11y-no-background-images', this.noBackgroundImages);
this.rules.forEach(rule => rule.modify(this));
Expand Down

0 comments on commit b9756d2

Please sign in to comment.