From ef8ba3181e5a9b5357e68938d5c370862c3c080e Mon Sep 17 00:00:00 2001 From: Seongho Bae Date: Mon, 10 Aug 2026 23:10:17 +0900 Subject: [PATCH 1/2] test(release): bind 0.6.0 changelog to protected image-alt behavior --- src/releaseCurrentMainAccessibility.test.ts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/releaseCurrentMainAccessibility.test.ts diff --git a/src/releaseCurrentMainAccessibility.test.ts b/src/releaseCurrentMainAccessibility.test.ts new file mode 100644 index 0000000..4198a6b --- /dev/null +++ b/src/releaseCurrentMainAccessibility.test.ts @@ -0,0 +1,21 @@ +import { readFileSync } from 'node:fs'; +import { resolve } from 'node:path'; + +import { describe, expect, it } from 'vitest'; + +const repositoryText = (path: string): string => + readFileSync(resolve(process.cwd(), path), 'utf8'); + +const toolbar = repositoryText('src/components/Toolbar.tsx'); +const changelog = repositoryText('CHANGELOG.md'); + +describe('0.6.0 protected-main accessibility release metadata', () => { + it('records the explicit image alternative-text intent behavior now on protected main', () => { + expect(toolbar).toContain( + 'Image alternative text. Leave empty only if this image is decorative.', + ); + expect(changelog).toContain( + 'Require explicit author alternative-text intent before inline image insertion', + ); + }); +}); From c56dfa3c287eccddeabe16dc6e9f29111d4e76dd Mon Sep 17 00:00:00 2001 From: Seongho Bae Date: Mon, 10 Aug 2026 23:18:50 +0900 Subject: [PATCH 2/2] fix(release): reconcile image alt intent in 0.6.0 changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 286d361..f5d1d3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,7 @@ Historical release entries from **0.1.0 through 0.5.27** are preserved verbatim - Durable-session notifications expose a newly committed server validator only after it is coherent with the emitted lifecycle state, preserving host-owned atomic RFC 9110 `If-Match` semantics ### Accessibility +- Require explicit author alternative-text intent before inline image insertion: non-empty text is stored as `alt`, an explicitly submitted empty response marks the image decorative with `alt=""`, cancellation inserts nothing, and conversion failures still abort before prompting. - Added programmatic toolbar shortcut discoverability with WAI-ARIA `aria-keyshortcuts` for the implemented bold, italic, link, undo, and redo commands, preserving the same native-button behavior, visible labels, roving focus model, and host-owned shortcut-conflict policy - Completed redo shortcut metadata with `Control+Shift+Z Meta+Shift+Z Control+Y Meta+Y`, matching the configured Tiptap history and collaboration behavior and exposing both `Ctrl/Cmd+Shift+Z` and `Ctrl/Cmd+Y` alternatives without adding new key handling - Corrected extension-scoped review evidence after exact-head repository review found the existing editor-surface `Ctrl/Cmd+K` link binding in `EditorFrame`; the link button now truthfully exposes `Control+K Meta+K` while the Tiptap Link extension itself remains documented as having no default shortcut