Menu

Tree [52d83a] main /
 History

HTTPS access


File Date Author Commit
 .github 2025-09-13 Reality Patchnotes Reality Patchnotes [256891] tags
 LICENSE 2025-09-13 Reality Patchnotes Reality Patchnotes [82a93d] Initial commit
 README.md 2025-09-13 Reality Patchnotes Reality Patchnotes [59b962] Update README.md
 readme.txt 2025-09-13 Reality Patchnotes Reality Patchnotes [52d83a] tags
 vax-micro-ux.php 2025-09-13 Reality Patchnotes Reality Patchnotes [67fe1b] real

Read Me

vax-micro-ux

VAX Micro UX (our new “Back to Top” that ships zero JS) is the first in a line of plugins designed to be aggressively unexciting.

VAX Micro UX — Back to Top (No JS)

A tiny, accessible Back to Top for long posts. Zero JavaScript, mobile-first, native smooth scroll, respects reduced motion.

Why

Stop shipping 30KB of ego to do an anchor jump. Use the platform:

  • anchor → jump
  • CSS scroll-behavior → smooth (disabled for reduced motion)
  • inline SVG fill="currentColor" → theme controls the icon

Install

  1. Upload vax-micro-ux.zip to Plugins → Add New → Upload.
  2. Activate.
  3. On long posts (default ≥ 900 words), a small button appears bottom-right on mobile.

Customize (filters)

```php
add_filter('vax_backtop_min_words', fn()=>1200);
add_filter('vax_backtop_mobile_breakpoint', fn()=>768);
add_filter('vax_backtop_bg', fn()=> '#ffd400');
add_filter('vax_backtop_fg', fn()=> '#000000');
Accessibility
Real link + aria-label, keyboard focus ring via :focus-visible, honors prefers-reduced-motion.

License
GPL-2.0-or-later. See LICENSE.

MongoDB Logo MongoDB