Skip to content

Version 0.2.0 - Focus Highlight Mode & Accessibility Enhancements

Pre-release
Pre-release

Choose a tag to compare

@Seristic Seristic released this 28 May 23:06

This release introduces the new Focus Highlight accessibility mode and resolves several persistent issues encountered during its initial implementation and stabilization.

  • Feature: Focus Highlight Mode:

    • Integrates a new accessibility feature that provides a custom visual highlight for keyboard-focused elements, significantly improving navigation for users.
    • Utilizes localStorage to ensure the user's preference for the highlight mode persists across Browse sessions.
  • Key Fixes & Enhancements:

    • Resolved CSS Application & Loading Issues: Addressed initial problems where custom outline and box-shadow styles were not consistently rendering, often due to browser caching quirks. Also fixed "FocusHighlightMode module not loaded correctly" errors by ensuring robust script execution and addressing transient loading issues.
    • Eliminated One-Click Visual Delay: Corrected a bug where the button's text and the visual highlight would not update immediately on the first click to enable the mode. Achieved immediate visual feedback by strategically wrapping button text and class updates in a micro-delay (setTimeout(0)).
    • Ensured Correct Persistence on Refresh: Fixed a critical bug where the highlight mode and the button's state would incorrectly revert to 'off' ('Highlight Toggle' text) after a page refresh, even when the mode was enabled and saved in localStorage. The init function now explicitly applies the correct visual state for a persisted enabled mode, ensuring consistent user experience without requiring extra clicks.