@niclasbork/a11ycore 1.1.12 → 1.1.15

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.
Files changed (2) hide show
  1. package/README.md +17 -2
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  # A11Y.Core
2
2
 
3
- A powerful, embeddable accessibility widget built with React, TypeScript, and Tailwind CSS.
4
- Instantly add features like text scaling, high contrast and night-shift modes, dyslexia-friendly fonts, screen reader support, link highlighting, and reduce motion to any website - with a single line of code.
3
+ A powerful, embeddable accessibility widget built with React, TypeScript, and Tailwind CSS. A11Y.Core enables comprehensive text adjustments including text scaling, line height, letter and word spacing, offers dark mode and night-shift reading modes, dyslexia-friendly fonts, reduce-motion support, link highlighting with focus rings, reading mask, large cursor, media hiding with placeholders, screen reader and read-aloud support, and persistent user settings — all integrated into any website with a single line of code.
5
4
 
6
5
  ## Installation
7
6
 
@@ -77,6 +76,22 @@ Default options:
77
76
  | `hotkey` | `string` | `undefined` | Keyboard shortcut to toggle the panel (e.g. `Alt+A`). |
78
77
  | `locale` | `string` | `undefined` | Fixed locale; omit to follow `<html lang>`. |
79
78
 
79
+ ## Features
80
+
81
+ - Text scaling from 100% to 200%.
82
+ - Controls for line height, letter spacing, and word spacing.
83
+ - High-contrast palettes.
84
+ - Dyslexia-friendly fonts.
85
+ - Reduce Motion to soften heavy animations and transitions.
86
+ - Link highlighting with focus rings.
87
+ - Shadow DOM isolation with persisted preferences.
88
+ - Hide images and videos with subtle placeholders.
89
+ - Reading mask for calmer focus.
90
+ - Oversized cursor for better visibility.
91
+ - Read-aloud in the active language.
92
+ - One-click reset returns to defaults.
93
+ - Persistence: all settings stored in localStorage under a11y-core:*
94
+
80
95
  ## Engine URLs
81
96
 
82
97
  - Loader: `https://a11ycore-engine.vercel.app/loader.js`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@niclasbork/a11ycore",
3
- "version": "1.1.12",
3
+ "version": "1.1.15",
4
4
  "type": "module",
5
5
  "main": "./dist/a11y-core.cjs.js",
6
6
  "module": "./dist/a11y-core.es.js",
@@ -56,8 +56,8 @@
56
56
  "tailwind-merge": "^2.5.2"
57
57
  },
58
58
  "peerDependencies": {
59
- "react": "^18.0.0",
60
- "react-dom": "^18.0.0"
59
+ "react": "^18.0.0 || ^19.0.0",
60
+ "react-dom": "^18.0.0 || ^19.0.0"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@types/node": "^25.0.3",