@wcstack/pointer-lock 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 CHANGED
@@ -208,6 +208,10 @@ lock.dispose(); // document リスナーを外す
208
208
 
209
209
  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-を直接束縛する要素なし) を参照。
210
210
 
211
+ ## アクセシビリティ
212
+
213
+ **WCAG 2.1.2 No Keyboard Trap(キーボードトラップなし)**: Esc でロックが必ず解除されることはブラウザが保証する — このキーを別用途に奪ってはならない。ただし、ユーザーが知らない保証付き脱出口は半分しか脱出口ではない: ロックが掛かる*前*に抜け方を伝え、アプリ内の出口(`exitPointerLock` コマンドを配線した可視のコントロール)も用意すること。ロック中の説明はポインタ操作なしで読める状態を保つ。
214
+
211
215
  ## ライセンス
212
216
 
213
217
  MIT
package/README.md CHANGED
@@ -211,6 +211,10 @@ lock.dispose(); // detach the document listener
211
211
 
212
212
  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).
213
213
 
214
+ ## Accessibility
215
+
216
+ **WCAG 2.1.2 No Keyboard Trap**: the browser guarantees that Esc always releases the pointer lock — never repurpose or intercept that key. But a guaranteed escape hatch the user does not know about is only half an escape hatch: tell the user how to leave *before* the lock engages, and offer an in-app exit as well (a visible control wired to the `exitPointerLock` command). While locked, keep any instructions readable without pointer interaction.
217
+
214
218
  ## License
215
219
 
216
220
  MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wcstack/pointer-lock",
3
- "version": "1.31.0",
3
+ "version": "1.32.0",
4
4
  "description": "Declarative Pointer Lock component for Web Components. Framework-agnostic Pointer Lock API control via wc-bindable-protocol.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.esm.js",