@wcstack/idle 1.31.0 → 1.32.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.ja.md +4 -0
- package/README.md +4 -0
- package/package.json +1 -1
package/README.ja.md
CHANGED
|
@@ -169,6 +169,10 @@ core.dispose();
|
|
|
169
169
|
|
|
170
170
|
Core の構造サーフェスは wcstack I/O ノード横断の規範です([async-io-node-guidelines §3.9](../../docs/async-io-node-guidelines.ja.md))。要素なしで signals に束縛するには [@wcstack/signals — Core を直接束縛する](../signals/README.ja.md#core-を直接束縛する要素なし) を参照。
|
|
171
171
|
|
|
172
|
+
## アクセシビリティ
|
|
173
|
+
|
|
174
|
+
**WCAG 2.2.1 Timing Adjustable(調整可能な制限時間)**: アイドル閾値は制限時間である。入力・読解・移動がゆっくりなユーザーや、それ自体に時間のかかる支援技術のユーザーは、作業中でも「アイドル」判定を踏む。アイドルが重大な帰結(自動ログアウト・コンテンツの非表示・セッション終了)を引き起こすなら、事前の警告と簡単な延長手段、または閾値を延ばす/無効化する設定が要る。`threshold` は寛大な値を選び、`userState` は「ユーザーが離れた証拠」ではなくヒントとして扱うこと。
|
|
175
|
+
|
|
172
176
|
## ライセンス
|
|
173
177
|
|
|
174
178
|
MIT
|
package/README.md
CHANGED
|
@@ -173,6 +173,10 @@ core.dispose();
|
|
|
173
173
|
|
|
174
174
|
The structural Core surface is normative across wcstack IO nodes ([async-io-node-guidelines §3.9](../../docs/async-io-node-guidelines.md)); to bind it into signals with no element at all, see [@wcstack/signals — Binding a Core directly](../signals/README.md#binding-a-core-directly-no-element).
|
|
175
175
|
|
|
176
|
+
## Accessibility
|
|
177
|
+
|
|
178
|
+
**WCAG 2.2.1 Timing Adjustable**: an idle threshold is a time limit. Users who type, read, or move slowly — or who rely on assistive technology that itself takes time — trip "idle" while actively working. If idleness triggers anything consequential (auto-logout, hiding content, ending a session), the user needs to be warned before it happens, given a simple way to extend, or offered a setting to lengthen or disable the threshold. Prefer generous `threshold` values, and treat `userState` as a hint, never as proof the user left.
|
|
179
|
+
|
|
176
180
|
## License
|
|
177
181
|
|
|
178
182
|
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wcstack/idle",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.32.0",
|
|
4
4
|
"description": "Declarative Idle Detection component for Web Components. Framework-agnostic IdleDetector wrapper via wc-bindable-protocol.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.esm.js",
|