@wcstack/fullscreen 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
@@ -183,6 +183,10 @@ core.dispose(); // fullscreenchange リスナーを外
183
183
 
184
184
  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-を直接束縛する要素なし) を参照。
185
185
 
186
+ ## アクセシビリティ
187
+
188
+ **WCAG 2.1.2 No Keyboard Trap / 2.4.3 Focus Order**: Esc で常に全画面を抜けられる(ブラウザ保証 — このキーを奪わない)が、アプリ内にも `exitFullscreen` コマンドを配線した可視の出口を用意すること(全員がこの慣習を知っているわけではない)。全画面化はナビゲーションなしで画面内容が変わる: フォーカスが全画面要素の中の妥当な場所(最初の操作可能なコントロール、または `tabindex="-1"` を付けた要素自身)へ移ることと、全画面終了時にフォーカスが開いたコントロールへ戻ることを確認する。
189
+
186
190
  ## ライセンス
187
191
 
188
192
  MIT
package/README.md CHANGED
@@ -186,6 +186,10 @@ core.dispose(); // detach the fullscreenchange listener
186
186
 
187
187
  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).
188
188
 
189
+ ## Accessibility
190
+
191
+ **WCAG 2.1.2 No Keyboard Trap / 2.4.3 Focus Order**: Esc always exits fullscreen (browser-guaranteed — do not repurpose it), but also offer a visible in-app exit wired to the `exitFullscreen` command; not every user knows the convention. Entering fullscreen changes what is on screen without a navigation: make sure focus lands somewhere sensible inside the fullscreen element (focus its first interactive control, or the element itself with `tabindex="-1"`), and check where focus returns when fullscreen ends — it should go back to the control that opened it.
192
+
189
193
  ## License
190
194
 
191
195
  MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wcstack/fullscreen",
3
- "version": "1.31.0",
3
+ "version": "1.32.0",
4
4
  "description": "Declarative Fullscreen API component for Web Components. Framework-agnostic requestFullscreen()/exitFullscreen() control via wc-bindable-protocol.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.esm.js",