UNPKG

@reaktly-js/tone-accessibility

Version:

A vanilla JS Accessability Widget compliant with ADA and WCAG 2.2.

32 lines (31 loc) 946 B
/** * @interface ToneConfig * @description Defines the configuration options for the Tone Accessibility Widget. */ export interface ToneConfig { contrastAdjuster?: boolean; saturationAdjuster?: boolean; fontSizeChanger?: boolean; lineHeightAdjuster?: boolean; textSpacing?: boolean; imageHider?: boolean; highlightLinks?: boolean; cursorAdjuster?: boolean; languageSelector?: boolean; componentColspans?: { languageSelector?: number; fontSizeChanger?: number; imageHider?: number; contrastAdjuster?: number; saturationAdjuster?: number; highlightLinks?: number; cursorAdjuster?: number; lineHeightAdjuster?: number; textSpacing?: number; }; autoInit?: boolean; fabPosition?: 'bottomLeft' | 'bottomRight' | 'centerLeft' | 'centerRight'; fabIcon?: string; initialLanguage?: string; developerMode?: boolean; }