accessibility-plugin-react 2.9.0 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -21
- package/dist/index.d.mts +40 -5
- package/dist/index.d.ts +40 -5
- package/dist/index.js +626 -70
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +607 -61
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +28 -0
- package/docs/API.md +3 -3
- package/docs/BUILD_AND_RELEASE_PLAN.md +4 -4
- package/docs/DECORATIVE_IMAGES.md +176 -0
- package/docs/FEATURES.md +25 -25
- package/docs/READING_AIDS.md +139 -0
- package/docs/REGRESSION_AND_PERFORMANCE.md +127 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -88,27 +88,27 @@ export function App() {
|
|
|
88
88
|
Every controller is opt-in. Add only the controls that make sense for your
|
|
89
89
|
site, and choose their order in JSX.
|
|
90
90
|
|
|
91
|
-
| Controller
|
|
92
|
-
|
|
|
93
|
-
| `TextScaleController`
|
|
94
|
-
| `FontSizeController`
|
|
95
|
-
| `LineHeightController`
|
|
96
|
-
| `LetterSpacingController`
|
|
97
|
-
| `WordSpacingController`
|
|
98
|
-
| `ContrastController`
|
|
99
|
-
| `ContrastModeController`
|
|
100
|
-
| `SaturationController`
|
|
101
|
-
| `InvertColorsController`
|
|
102
|
-
| `GrayscaleController`
|
|
103
|
-
| `LinkHighlightController`
|
|
104
|
-
| `TextAlignController`
|
|
105
|
-
| `FontFamilyController`
|
|
106
|
-
| `HideImagesController`
|
|
107
|
-
| `HideVideosController`
|
|
108
|
-
| `BigCursorController`
|
|
109
|
-
| `ReadingMaskController`
|
|
110
|
-
| `ReadingGuideController`
|
|
111
|
-
| `ResetController`
|
|
91
|
+
| Controller | Effect |
|
|
92
|
+
| --------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
|
|
93
|
+
| `TextScaleController` | Stepwise reflow-safe text enlargement (1.0x, 1.125x, 1.25x, 1.5x, 2.0x) protecting forms, code, and icons. |
|
|
94
|
+
| `FontSizeController` | Scales eligible HTML text from 50% to 200%; supports continuous 10% steps or `stepScale` mode. |
|
|
95
|
+
| `LineHeightController` | Scales computed line height (50%–200%, step 10); supports `stepPresets` (100%, 150%, 175%, 200%). |
|
|
96
|
+
| `LetterSpacingController` | Applies 0–10px letter spacing with automatic cursive (Arabic/RTL) and Indic (Sinhala/Tamil) protection. |
|
|
97
|
+
| `WordSpacingController` | Applies 0–10px word spacing while protecting tables, code, forms, and widget internals. |
|
|
98
|
+
| `ContrastController` | Adjusts contrast levels, palettes, or semantic modes while preserving images, video, charts, and validation. |
|
|
99
|
+
| `ContrastModeController` | Applies light, dark, high contrast, or media-safe invert tokens with native forced-colors protection. |
|
|
100
|
+
| `SaturationController` | Reduces or increases saturation. |
|
|
101
|
+
| `InvertColorsController` | Inverts eligible page content. |
|
|
102
|
+
| `GrayscaleController` | Removes color while preserving the selected saturation value for later. |
|
|
103
|
+
| `LinkHighlightController` | Highlights links or selects a link palette. |
|
|
104
|
+
| `TextAlignController` | Scopes left, center, right, or justified alignment to text blocks; warns about justification. |
|
|
105
|
+
| `FontFamilyController` | Applies clean system-ui or OpenDyslexic with Sinhala/Tamil fallbacks while protecting code and icons. |
|
|
106
|
+
| `HideImagesController` / `HideDecorativeImagesController` | Hides only eligible decorative images while preserving controls, CAPTCHA, charts, maps, and informative graphics. |
|
|
107
|
+
| `HideVideosController` | Hides video elements and recognized YouTube/Vimeo embeds visually. |
|
|
108
|
+
| `BigCursorController` | Applies a 40px high-contrast SVG pointer; capability-aware (requires `(pointer: fine)`). |
|
|
109
|
+
| `ReadingMaskController` | Adjustable transparent reading window (40–400px, default 100px); pointer-transparent; follows pointer, touch, and focus. |
|
|
110
|
+
| `ReadingGuideController` | 4px pointer-transparent guide ruler; never blocks clicks/selection; follows pointer, touch, and focus. |
|
|
111
|
+
| `ResetController` | Resets display features and custom registered features without moving the widget. |
|
|
112
112
|
|
|
113
113
|
Effects compose where appropriate. For example, contrast, saturation, invert,
|
|
114
114
|
and grayscale are applied in a deterministic order. Defaults leave host styles
|
package/dist/index.d.mts
CHANGED
|
@@ -397,6 +397,10 @@ type FontFamilyPreset = (typeof FONT_FAMILY_PRESETS)[number];
|
|
|
397
397
|
*/
|
|
398
398
|
declare const CONTRAST_MODES: readonly ["off", "original", "light", "dark", "high", "invert"];
|
|
399
399
|
type ContrastModeValue = (typeof CONTRAST_MODES)[number];
|
|
400
|
+
declare const DEFAULT_READING_MASK_HEIGHT = 100;
|
|
401
|
+
declare const MIN_READING_MASK_HEIGHT = 40;
|
|
402
|
+
declare const MAX_READING_MASK_HEIGHT = 400;
|
|
403
|
+
declare const READING_MASK_HEIGHT_PRESETS: readonly [60, 100, 160, 240];
|
|
400
404
|
|
|
401
405
|
/** Detects whether the user's operating system has forced colors / high contrast active. */
|
|
402
406
|
declare function isForcedColorsActive(): boolean;
|
|
@@ -404,6 +408,9 @@ declare function subscribeForcedColors(callback: () => void): () => void;
|
|
|
404
408
|
/** Detects whether the user's operating system has prefers-reduced-motion active. */
|
|
405
409
|
declare function isReducedMotionActive(): boolean;
|
|
406
410
|
declare function subscribeReducedMotion(callback: () => void): () => void;
|
|
411
|
+
/** Detects whether the device supports a fine pointer (mouse, trackpad, pen). */
|
|
412
|
+
declare function hasFinePointer(): boolean;
|
|
413
|
+
declare function subscribeFinePointer(callback: () => void): () => void;
|
|
407
414
|
interface ContrastPalette {
|
|
408
415
|
text: string;
|
|
409
416
|
background: string;
|
|
@@ -437,6 +444,19 @@ interface ScriptSpacingConstraints {
|
|
|
437
444
|
script: "cursive" | "indic" | "standard";
|
|
438
445
|
}
|
|
439
446
|
declare function getScriptSpacingConstraints(element: HTMLElement): ScriptSpacingConstraints;
|
|
447
|
+
/**
|
|
448
|
+
* Determines whether an element represents functional, informative, or protected visual content
|
|
449
|
+
* (e.g., interactive controls, CAPTCHA, charts, graphs, maps, QR codes, or images with meaningful alt/names).
|
|
450
|
+
* Such content must NEVER be hidden by decorative image preferences.
|
|
451
|
+
*/
|
|
452
|
+
declare function isFunctionalOrMeaningfulImage(el: Element): boolean;
|
|
453
|
+
/**
|
|
454
|
+
* Determines whether an element represents an eligible decorative image that is safe to hide.
|
|
455
|
+
* An image is eligible if it is not functional or meaningful, and meets standard decorative cues
|
|
456
|
+
* (empty alt="", role="presentation", role="none", aria-hidden="true", or decorative class/attribute).
|
|
457
|
+
*/
|
|
458
|
+
declare function isEligibleDecorativeImage(el: Element): boolean;
|
|
459
|
+
declare function nudgeReadingAid(feature: "readingGuide" | "readingMask", delta: number): void;
|
|
440
460
|
|
|
441
461
|
interface LineHeightControllerProps {
|
|
442
462
|
/**
|
|
@@ -491,15 +511,30 @@ declare function TextAlignController(): react.JSX.Element;
|
|
|
491
511
|
|
|
492
512
|
declare function FontFamilyController(): react.JSX.Element;
|
|
493
513
|
|
|
494
|
-
|
|
514
|
+
interface HideImagesControllerProps {
|
|
515
|
+
label?: string;
|
|
516
|
+
}
|
|
517
|
+
declare function HideImagesController({ label, }?: HideImagesControllerProps): react.JSX.Element;
|
|
518
|
+
declare const HideDecorativeImagesController: typeof HideImagesController;
|
|
495
519
|
|
|
496
520
|
declare function HideVideosController(): react.JSX.Element;
|
|
497
521
|
|
|
498
|
-
|
|
522
|
+
interface BigCursorControllerProps {
|
|
523
|
+
showCapabilityHint?: boolean;
|
|
524
|
+
}
|
|
525
|
+
declare function BigCursorController({ showCapabilityHint, }?: BigCursorControllerProps): react.JSX.Element;
|
|
499
526
|
|
|
500
|
-
|
|
527
|
+
interface ReadingMaskControllerProps {
|
|
528
|
+
minHeight?: number;
|
|
529
|
+
maxHeight?: number;
|
|
530
|
+
step?: number;
|
|
531
|
+
}
|
|
532
|
+
declare function ReadingMaskController({ minHeight, maxHeight, step, }?: ReadingMaskControllerProps): react.JSX.Element;
|
|
501
533
|
|
|
502
|
-
|
|
534
|
+
interface ReadingGuideControllerProps {
|
|
535
|
+
nudgeStep?: number;
|
|
536
|
+
}
|
|
537
|
+
declare function ReadingGuideController({ nudgeStep, }?: ReadingGuideControllerProps): react.JSX.Element;
|
|
503
538
|
|
|
504
539
|
/**
|
|
505
540
|
* Controller to toggle enhanced focus visibility.
|
|
@@ -518,4 +553,4 @@ declare function ReduceMotionController(): react.JSX.Element;
|
|
|
518
553
|
|
|
519
554
|
declare function ResetController(): react.JSX.Element;
|
|
520
555
|
|
|
521
|
-
export { AccessibilityButton, type AccessibilityButtonProps, AccessibilityContext, type AccessibilityContextValue, AccessibilityList, type AccessibilityListProps, AccessibilityPlugin, type AccessibilityPluginProps, type AccessibilityPreferences, type AccessibilityState, BigCursorController, CONTRAST_MODES, CONTRAST_PALETTES, CONTRAST_PROTECTED_SELECTOR, ChoiceControl, type ChoiceControlProps, type ChoiceGroup, type ChoiceOption, ContrastController, type ContrastMode, ContrastModeController, type ContrastModeValue, type ContrastPalette, type CursorSizePreference, DEFAULT_PREFERENCES, DYSLEXIA_FONT_STACK, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, FONT_FAMILY_PRESETS, FONT_FAMILY_PROTECTED_SELECTOR, FeatureCard, type FeatureCardProps, type FeatureOptions, type FeatureRegistration, type FeatureStatus, FocusHighlightController, FontFamilyController, type FontFamilyPreference, type FontFamilyPreset, FontSizeController, type FontSizeControllerProps, GrayscaleController, HideImagesController, HideVideosController, HighlightFocusController, InvertColorsController, LEGIBLE_FONT_STACK, LINE_HEIGHT_RATIOS, LINE_HEIGHT_STEPS, LetterSpacingController, type LetterSpacingControllerProps, LineHeightController, type LineHeightControllerProps, LinkHighlightController, type LocaleStrings, PROFILE_DEFINITIONS, ParagraphSpacingController, type ParagraphSpacingControllerProps, type PluginPosition, type ProfileDefinition, type ProfilePresetId, ProfilePreviewCard, type ProfilePreviewCardProps, type ReaderMode, ReadingGuideController, ReadingMaskController, ReduceMotionController, ResetController, SaturationController, type SaturationPreference, type ScriptSpacingConstraints, SearchCount, type SearchCountProps, SkipToMainLink, type SkipToMainLinkProps, StepperControl, type StepperControlProps, type StorageMode, type SupportedLocale, TEXT_ALIGN_BLOCK_SELECTOR, TEXT_SCALE_PROTECTED_SELECTOR, TEXT_SCALE_STEPS, TEXT_SPACING_EXCLUDED_SELECTOR, TextAlignController, type TextAlignPreference, TextScaleController, type TextScaleControllerProps, type TextScaleStep, ToggleControl, type ToggleControlProps, type WidgetPlacement, WordSpacingController, type WordSpacingControllerProps, createInitialPreferencesState, enLocale, findMainLandmark, getScriptSpacingConstraints, isForcedColorsActive, isProtectedFromContrast, isProtectedFromFontFamily, isProtectedFromTextAlign, isProtectedFromTextScale, isProtectedFromTextSpacing, isReducedMotionActive, isRtlLocale, normalizePreferenceValue, normalizePreferences, preferencesReducer, registerLocale, resolveEffectivePreferences, resolveLocaleStrings, subscribeForcedColors, subscribeReducedMotion, useAccessibility };
|
|
556
|
+
export { AccessibilityButton, type AccessibilityButtonProps, AccessibilityContext, type AccessibilityContextValue, AccessibilityList, type AccessibilityListProps, AccessibilityPlugin, type AccessibilityPluginProps, type AccessibilityPreferences, type AccessibilityState, BigCursorController, type BigCursorControllerProps, CONTRAST_MODES, CONTRAST_PALETTES, CONTRAST_PROTECTED_SELECTOR, ChoiceControl, type ChoiceControlProps, type ChoiceGroup, type ChoiceOption, ContrastController, type ContrastMode, ContrastModeController, type ContrastModeValue, type ContrastPalette, type CursorSizePreference, DEFAULT_PREFERENCES, DEFAULT_READING_MASK_HEIGHT, DYSLEXIA_FONT_STACK, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, FONT_FAMILY_PRESETS, FONT_FAMILY_PROTECTED_SELECTOR, FeatureCard, type FeatureCardProps, type FeatureOptions, type FeatureRegistration, type FeatureStatus, FocusHighlightController, FontFamilyController, type FontFamilyPreference, type FontFamilyPreset, FontSizeController, type FontSizeControllerProps, GrayscaleController, HideDecorativeImagesController, HideImagesController, type HideImagesControllerProps, HideVideosController, HighlightFocusController, InvertColorsController, LEGIBLE_FONT_STACK, LINE_HEIGHT_RATIOS, LINE_HEIGHT_STEPS, LetterSpacingController, type LetterSpacingControllerProps, LineHeightController, type LineHeightControllerProps, LinkHighlightController, type LocaleStrings, MAX_READING_MASK_HEIGHT, MIN_READING_MASK_HEIGHT, PROFILE_DEFINITIONS, ParagraphSpacingController, type ParagraphSpacingControllerProps, type PluginPosition, type ProfileDefinition, type ProfilePresetId, ProfilePreviewCard, type ProfilePreviewCardProps, READING_MASK_HEIGHT_PRESETS, type ReaderMode, ReadingGuideController, type ReadingGuideControllerProps, ReadingMaskController, type ReadingMaskControllerProps, ReduceMotionController, ResetController, SaturationController, type SaturationPreference, type ScriptSpacingConstraints, SearchCount, type SearchCountProps, SkipToMainLink, type SkipToMainLinkProps, StepperControl, type StepperControlProps, type StorageMode, type SupportedLocale, TEXT_ALIGN_BLOCK_SELECTOR, TEXT_SCALE_PROTECTED_SELECTOR, TEXT_SCALE_STEPS, TEXT_SPACING_EXCLUDED_SELECTOR, TextAlignController, type TextAlignPreference, TextScaleController, type TextScaleControllerProps, type TextScaleStep, ToggleControl, type ToggleControlProps, type WidgetPlacement, WordSpacingController, type WordSpacingControllerProps, createInitialPreferencesState, enLocale, findMainLandmark, getScriptSpacingConstraints, hasFinePointer, isEligibleDecorativeImage, isForcedColorsActive, isFunctionalOrMeaningfulImage, isProtectedFromContrast, isProtectedFromFontFamily, isProtectedFromTextAlign, isProtectedFromTextScale, isProtectedFromTextSpacing, isReducedMotionActive, isRtlLocale, normalizePreferenceValue, normalizePreferences, nudgeReadingAid, preferencesReducer, registerLocale, resolveEffectivePreferences, resolveLocaleStrings, subscribeFinePointer, subscribeForcedColors, subscribeReducedMotion, useAccessibility };
|
package/dist/index.d.ts
CHANGED
|
@@ -397,6 +397,10 @@ type FontFamilyPreset = (typeof FONT_FAMILY_PRESETS)[number];
|
|
|
397
397
|
*/
|
|
398
398
|
declare const CONTRAST_MODES: readonly ["off", "original", "light", "dark", "high", "invert"];
|
|
399
399
|
type ContrastModeValue = (typeof CONTRAST_MODES)[number];
|
|
400
|
+
declare const DEFAULT_READING_MASK_HEIGHT = 100;
|
|
401
|
+
declare const MIN_READING_MASK_HEIGHT = 40;
|
|
402
|
+
declare const MAX_READING_MASK_HEIGHT = 400;
|
|
403
|
+
declare const READING_MASK_HEIGHT_PRESETS: readonly [60, 100, 160, 240];
|
|
400
404
|
|
|
401
405
|
/** Detects whether the user's operating system has forced colors / high contrast active. */
|
|
402
406
|
declare function isForcedColorsActive(): boolean;
|
|
@@ -404,6 +408,9 @@ declare function subscribeForcedColors(callback: () => void): () => void;
|
|
|
404
408
|
/** Detects whether the user's operating system has prefers-reduced-motion active. */
|
|
405
409
|
declare function isReducedMotionActive(): boolean;
|
|
406
410
|
declare function subscribeReducedMotion(callback: () => void): () => void;
|
|
411
|
+
/** Detects whether the device supports a fine pointer (mouse, trackpad, pen). */
|
|
412
|
+
declare function hasFinePointer(): boolean;
|
|
413
|
+
declare function subscribeFinePointer(callback: () => void): () => void;
|
|
407
414
|
interface ContrastPalette {
|
|
408
415
|
text: string;
|
|
409
416
|
background: string;
|
|
@@ -437,6 +444,19 @@ interface ScriptSpacingConstraints {
|
|
|
437
444
|
script: "cursive" | "indic" | "standard";
|
|
438
445
|
}
|
|
439
446
|
declare function getScriptSpacingConstraints(element: HTMLElement): ScriptSpacingConstraints;
|
|
447
|
+
/**
|
|
448
|
+
* Determines whether an element represents functional, informative, or protected visual content
|
|
449
|
+
* (e.g., interactive controls, CAPTCHA, charts, graphs, maps, QR codes, or images with meaningful alt/names).
|
|
450
|
+
* Such content must NEVER be hidden by decorative image preferences.
|
|
451
|
+
*/
|
|
452
|
+
declare function isFunctionalOrMeaningfulImage(el: Element): boolean;
|
|
453
|
+
/**
|
|
454
|
+
* Determines whether an element represents an eligible decorative image that is safe to hide.
|
|
455
|
+
* An image is eligible if it is not functional or meaningful, and meets standard decorative cues
|
|
456
|
+
* (empty alt="", role="presentation", role="none", aria-hidden="true", or decorative class/attribute).
|
|
457
|
+
*/
|
|
458
|
+
declare function isEligibleDecorativeImage(el: Element): boolean;
|
|
459
|
+
declare function nudgeReadingAid(feature: "readingGuide" | "readingMask", delta: number): void;
|
|
440
460
|
|
|
441
461
|
interface LineHeightControllerProps {
|
|
442
462
|
/**
|
|
@@ -491,15 +511,30 @@ declare function TextAlignController(): react.JSX.Element;
|
|
|
491
511
|
|
|
492
512
|
declare function FontFamilyController(): react.JSX.Element;
|
|
493
513
|
|
|
494
|
-
|
|
514
|
+
interface HideImagesControllerProps {
|
|
515
|
+
label?: string;
|
|
516
|
+
}
|
|
517
|
+
declare function HideImagesController({ label, }?: HideImagesControllerProps): react.JSX.Element;
|
|
518
|
+
declare const HideDecorativeImagesController: typeof HideImagesController;
|
|
495
519
|
|
|
496
520
|
declare function HideVideosController(): react.JSX.Element;
|
|
497
521
|
|
|
498
|
-
|
|
522
|
+
interface BigCursorControllerProps {
|
|
523
|
+
showCapabilityHint?: boolean;
|
|
524
|
+
}
|
|
525
|
+
declare function BigCursorController({ showCapabilityHint, }?: BigCursorControllerProps): react.JSX.Element;
|
|
499
526
|
|
|
500
|
-
|
|
527
|
+
interface ReadingMaskControllerProps {
|
|
528
|
+
minHeight?: number;
|
|
529
|
+
maxHeight?: number;
|
|
530
|
+
step?: number;
|
|
531
|
+
}
|
|
532
|
+
declare function ReadingMaskController({ minHeight, maxHeight, step, }?: ReadingMaskControllerProps): react.JSX.Element;
|
|
501
533
|
|
|
502
|
-
|
|
534
|
+
interface ReadingGuideControllerProps {
|
|
535
|
+
nudgeStep?: number;
|
|
536
|
+
}
|
|
537
|
+
declare function ReadingGuideController({ nudgeStep, }?: ReadingGuideControllerProps): react.JSX.Element;
|
|
503
538
|
|
|
504
539
|
/**
|
|
505
540
|
* Controller to toggle enhanced focus visibility.
|
|
@@ -518,4 +553,4 @@ declare function ReduceMotionController(): react.JSX.Element;
|
|
|
518
553
|
|
|
519
554
|
declare function ResetController(): react.JSX.Element;
|
|
520
555
|
|
|
521
|
-
export { AccessibilityButton, type AccessibilityButtonProps, AccessibilityContext, type AccessibilityContextValue, AccessibilityList, type AccessibilityListProps, AccessibilityPlugin, type AccessibilityPluginProps, type AccessibilityPreferences, type AccessibilityState, BigCursorController, CONTRAST_MODES, CONTRAST_PALETTES, CONTRAST_PROTECTED_SELECTOR, ChoiceControl, type ChoiceControlProps, type ChoiceGroup, type ChoiceOption, ContrastController, type ContrastMode, ContrastModeController, type ContrastModeValue, type ContrastPalette, type CursorSizePreference, DEFAULT_PREFERENCES, DYSLEXIA_FONT_STACK, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, FONT_FAMILY_PRESETS, FONT_FAMILY_PROTECTED_SELECTOR, FeatureCard, type FeatureCardProps, type FeatureOptions, type FeatureRegistration, type FeatureStatus, FocusHighlightController, FontFamilyController, type FontFamilyPreference, type FontFamilyPreset, FontSizeController, type FontSizeControllerProps, GrayscaleController, HideImagesController, HideVideosController, HighlightFocusController, InvertColorsController, LEGIBLE_FONT_STACK, LINE_HEIGHT_RATIOS, LINE_HEIGHT_STEPS, LetterSpacingController, type LetterSpacingControllerProps, LineHeightController, type LineHeightControllerProps, LinkHighlightController, type LocaleStrings, PROFILE_DEFINITIONS, ParagraphSpacingController, type ParagraphSpacingControllerProps, type PluginPosition, type ProfileDefinition, type ProfilePresetId, ProfilePreviewCard, type ProfilePreviewCardProps, type ReaderMode, ReadingGuideController, ReadingMaskController, ReduceMotionController, ResetController, SaturationController, type SaturationPreference, type ScriptSpacingConstraints, SearchCount, type SearchCountProps, SkipToMainLink, type SkipToMainLinkProps, StepperControl, type StepperControlProps, type StorageMode, type SupportedLocale, TEXT_ALIGN_BLOCK_SELECTOR, TEXT_SCALE_PROTECTED_SELECTOR, TEXT_SCALE_STEPS, TEXT_SPACING_EXCLUDED_SELECTOR, TextAlignController, type TextAlignPreference, TextScaleController, type TextScaleControllerProps, type TextScaleStep, ToggleControl, type ToggleControlProps, type WidgetPlacement, WordSpacingController, type WordSpacingControllerProps, createInitialPreferencesState, enLocale, findMainLandmark, getScriptSpacingConstraints, isForcedColorsActive, isProtectedFromContrast, isProtectedFromFontFamily, isProtectedFromTextAlign, isProtectedFromTextScale, isProtectedFromTextSpacing, isReducedMotionActive, isRtlLocale, normalizePreferenceValue, normalizePreferences, preferencesReducer, registerLocale, resolveEffectivePreferences, resolveLocaleStrings, subscribeForcedColors, subscribeReducedMotion, useAccessibility };
|
|
556
|
+
export { AccessibilityButton, type AccessibilityButtonProps, AccessibilityContext, type AccessibilityContextValue, AccessibilityList, type AccessibilityListProps, AccessibilityPlugin, type AccessibilityPluginProps, type AccessibilityPreferences, type AccessibilityState, BigCursorController, type BigCursorControllerProps, CONTRAST_MODES, CONTRAST_PALETTES, CONTRAST_PROTECTED_SELECTOR, ChoiceControl, type ChoiceControlProps, type ChoiceGroup, type ChoiceOption, ContrastController, type ContrastMode, ContrastModeController, type ContrastModeValue, type ContrastPalette, type CursorSizePreference, DEFAULT_PREFERENCES, DEFAULT_READING_MASK_HEIGHT, DYSLEXIA_FONT_STACK, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, FONT_FAMILY_PRESETS, FONT_FAMILY_PROTECTED_SELECTOR, FeatureCard, type FeatureCardProps, type FeatureOptions, type FeatureRegistration, type FeatureStatus, FocusHighlightController, FontFamilyController, type FontFamilyPreference, type FontFamilyPreset, FontSizeController, type FontSizeControllerProps, GrayscaleController, HideDecorativeImagesController, HideImagesController, type HideImagesControllerProps, HideVideosController, HighlightFocusController, InvertColorsController, LEGIBLE_FONT_STACK, LINE_HEIGHT_RATIOS, LINE_HEIGHT_STEPS, LetterSpacingController, type LetterSpacingControllerProps, LineHeightController, type LineHeightControllerProps, LinkHighlightController, type LocaleStrings, MAX_READING_MASK_HEIGHT, MIN_READING_MASK_HEIGHT, PROFILE_DEFINITIONS, ParagraphSpacingController, type ParagraphSpacingControllerProps, type PluginPosition, type ProfileDefinition, type ProfilePresetId, ProfilePreviewCard, type ProfilePreviewCardProps, READING_MASK_HEIGHT_PRESETS, type ReaderMode, ReadingGuideController, type ReadingGuideControllerProps, ReadingMaskController, type ReadingMaskControllerProps, ReduceMotionController, ResetController, SaturationController, type SaturationPreference, type ScriptSpacingConstraints, SearchCount, type SearchCountProps, SkipToMainLink, type SkipToMainLinkProps, StepperControl, type StepperControlProps, type StorageMode, type SupportedLocale, TEXT_ALIGN_BLOCK_SELECTOR, TEXT_SCALE_PROTECTED_SELECTOR, TEXT_SCALE_STEPS, TEXT_SPACING_EXCLUDED_SELECTOR, TextAlignController, type TextAlignPreference, TextScaleController, type TextScaleControllerProps, type TextScaleStep, ToggleControl, type ToggleControlProps, type WidgetPlacement, WordSpacingController, type WordSpacingControllerProps, createInitialPreferencesState, enLocale, findMainLandmark, getScriptSpacingConstraints, hasFinePointer, isEligibleDecorativeImage, isForcedColorsActive, isFunctionalOrMeaningfulImage, isProtectedFromContrast, isProtectedFromFontFamily, isProtectedFromTextAlign, isProtectedFromTextScale, isProtectedFromTextSpacing, isReducedMotionActive, isRtlLocale, normalizePreferenceValue, normalizePreferences, nudgeReadingAid, preferencesReducer, registerLocale, resolveEffectivePreferences, resolveLocaleStrings, subscribeFinePointer, subscribeForcedColors, subscribeReducedMotion, useAccessibility };
|