@alew896/a11y-reader 0.1.0 → 0.1.1
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 +26 -0
- package/package.json +35 -23
package/README.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# A11y Reader
|
|
2
|
+
|
|
3
|
+
A text-based accessibility reader overlay for React apps that simulates screen reader output (NVDA-style) for debugging and testing.
|
|
4
|
+
|
|
5
|
+
## ✨ Features
|
|
6
|
+
|
|
7
|
+
- 🔍 Focus tracking
|
|
8
|
+
- 🧠 NVDA-like text output
|
|
9
|
+
- 📦 Lightweight & dev-friendly
|
|
10
|
+
- 🖱️ Draggable overlay
|
|
11
|
+
|
|
12
|
+
## 📦 Installation
|
|
13
|
+
|
|
14
|
+
npm install @alew896/a11y-reader
|
|
15
|
+
|
|
16
|
+
## 🚀 Usage
|
|
17
|
+
|
|
18
|
+
import { A11yOverlay } from '@alew896/a11y-reader'
|
|
19
|
+
|
|
20
|
+
function App() {
|
|
21
|
+
return (
|
|
22
|
+
<>
|
|
23
|
+
<A11yOverlay />
|
|
24
|
+
</>
|
|
25
|
+
)
|
|
26
|
+
}
|
package/package.json
CHANGED
|
@@ -1,24 +1,36 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
2
|
+
"name": "@alew896/a11y-reader",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "A11y text-based screen reader simulator overlay for React apps",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/alew896/a11y-reader.git"
|
|
14
|
+
},
|
|
15
|
+
"homepage": "https://github.com/alew896/a11y-reader#readme",
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/alew896/a11y-reader/issues"
|
|
18
|
+
},
|
|
19
|
+
"scripts": {
|
|
20
|
+
"build": "tsup src/index.ts --dts --format esm,cjs",
|
|
21
|
+
"prepublishOnly": "npm run build"
|
|
22
|
+
},
|
|
23
|
+
"keywords": [
|
|
24
|
+
"a11y",
|
|
25
|
+
"accessibility",
|
|
26
|
+
"screen-reader",
|
|
27
|
+
"aria",
|
|
28
|
+
"react"
|
|
29
|
+
],
|
|
30
|
+
"author": "Chirag Athwani",
|
|
31
|
+
"license": "MIT",
|
|
32
|
+
"peerDependencies": {
|
|
33
|
+
"react": ">=17",
|
|
34
|
+
"react-dom": ">=17"
|
|
35
|
+
}
|
|
36
|
+
}
|