@wcstack/notification 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
@@ -285,6 +285,10 @@ notify.dispose(); // 購読を解除(開いている通知は
285
285
 
286
286
  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-を直接束縛する要素なし) を参照。
287
287
 
288
+ ## アクセシビリティ
289
+
290
+ **WCAG 2.2.1 Timing Adjustable(調整可能な制限時間)**: デスクトップ通知は時限コンテンツである — 表示時間は OS が決め、ユーザーは丸ごと見逃しうる(権限拒否・集中モード・単に他所を見ていた)。情報の*唯一の*置き場を通知にしてはならない: ページ内にミラーし([`examples/state-notification-chat`](https://github.com/wcstack/wcstack/tree/main/examples/state-notification-chat) の `role="log"` 行のように)、同じ内容・操作へ後からも到達できるようにする。`notify` オプションの `requireInteraction` は、プラットフォームが尊重する環境では通知を閉じるまで表示し続ける — 本当に失効してはならない内容にはこれを使う。
291
+
288
292
  ## ライセンス
289
293
 
290
294
  MIT
package/README.md CHANGED
@@ -287,6 +287,10 @@ notify.dispose(); // detach subscriptions (open notifications sta
287
287
 
288
288
  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).
289
289
 
290
+ ## Accessibility
291
+
292
+ **WCAG 2.2.1 Timing Adjustable**: a desktop notification is timed content — the OS decides how long it stays visible, and the user may miss it entirely (permission denied, do-not-disturb, or simply looking elsewhere). Never make a notification the *only* place information appears: mirror it in the page (a `role="log"` line, as [`examples/state-notification-chat`](https://github.com/wcstack/wcstack/tree/main/examples/state-notification-chat) does), and let the user reach the same content or action later. `requireInteraction` in the `notify` options keeps a notification on screen until dismissed where the platform honors it — use it when the content genuinely must not expire.
293
+
290
294
  ## License
291
295
 
292
296
  MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wcstack/notification",
3
- "version": "1.31.0",
3
+ "version": "1.32.0",
4
4
  "description": "Declarative desktop-notification component for Web Components. Framework-agnostic Notifications API wrapper via wc-bindable-protocol, with Service Worker support.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.esm.js",