From 8b885e4448906caeb3c2abf342c17ccb9578cc72 Mon Sep 17 00:00:00 2001 From: dev Date: Fri, 22 May 2026 01:14:52 +0200 Subject: [PATCH] chore(toast): add APG alert pattern URL to morfo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes the cosmetic gap surfaced by the cross-component audit (#83). Toast renders via role='alert' / live-region; the matching APG pattern is the "alert" widget. Avatar audited too — its empty morfo (scope: ['eidos'], no texts/events/ apg) is the canonical shape for purely visual primitives; Icon follows the same template. No change needed. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/uix/morfo/components/toast.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/uix/morfo/components/toast.ts b/src/uix/morfo/components/toast.ts index ce4e9def3..640587d57 100644 --- a/src/uix/morfo/components/toast.ts +++ b/src/uix/morfo/components/toast.ts @@ -6,6 +6,7 @@ export const toastMorfo = { name: 'Toast', kebab: 'toast', scope: ['soma', 'sema'], + apg: 'https://www.w3.org/WAI/ARIA/apg/patterns/alert/', texts: { label: '#?components.toast.label|Toast' },