[PR #139] [MERGED] fix(ltm): improve accessibility semantics #826

Closed
opened 2026-10-20 17:31:22 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/139
Author: @Promansis
Created: 7/30/2026
Status: ✅ Merged
Merged: 7/30/2026
Merged by: @Promansis

Base: staging ← Head: fix/ltm-aria-accessibility


📝 Commits (2)

  • 438dec4 fix(ltm): improve accessibility semantics
  • c00acc9 fix(ltm): track background refresh state

📊 Changes

18 files changed (+315 additions, -223 deletions)

View changed files

📝 artifacts/long-term-memory-1.0.1.zip (+0 -0)
📝 catalog/catalog.json (+5 -5)
📝 catalog/v2/catalog.json (+5 -5)
📝 catalog/v3/catalog.json (+1 -1)
📝 packages/long-term-memory/client.js (+18 -18)
📝 packages/long-term-memory/manifest.json (+2 -2)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ActivityView.tsx (+29 -6)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ChatSettings.tsx (+1 -1)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ExtractionPromptTemplates.tsx (+27 -23)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LastInjectionSummary.tsx (+1 -0)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryDetail.tsx (+45 -24)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryNavigation.tsx (+2 -1)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemorySettings.tsx (+10 -2)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx (+49 -23)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ReviewQueue.tsx (+16 -2)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/SourcesWorkspace.tsx (+98 -105)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json (+4 -3)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/shared-controls.tsx (+2 -2)

📄 Description

Linked issue

Closes #138

Why this change

Long-Term Memory controls and dynamic surfaces need reliable accessible names, relationships, selected-state reporting, and live-region behavior across supported workflows.

What changed

  • Added and corrected ARIA labels, labelled-by relationships, tab and tabpanel relationships, pressed states, popup controls, status/error semantics, and action-group names across Long-Term Memory UI surfaces.
  • Removed invalid responsive tab behavior where panes are simultaneously visible on desktop; mobile pane selectors use native button pressed state.
  • Removed stale localization keys and rebuilt the Long-Term Memory client, manifest, artifact, and catalog entries.
  • Affected package ID: long-term-memory.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: none; remains compatible with Marinara Engine >=2.3.5 <2.4.0
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: package client update; manifest still requires the existing restart behavior

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Rebuilt with node scripts/build-feature-packages.mjs long-term-memory.
  • Ran node scripts/test-catalog-lanes.mjs.
  • Ran node scripts/validate-catalog.mjs.
  • Ran git diff --check.
  • Verified in Chromium DevTools that #ltm-source-tab-lorebooks has role="tab", aria-selected="true", and aria-controls="ltm-source-preview-lorebooks", while the target has role="tabpanel" and aria-labelledby="ltm-source-tab-lorebooks".
  • long-term-memory-showcase.html and roleplay-summary-generation-prompt.md were intentionally excluded.

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

UI evidence (if applicable)

Chromium DevTools Elements and Accessibility inspection was used for the Lorebooks tab/tabpanel relationship. Full screenshot evidence was not captured.

Summary by CodeRabbit

  • Accessibility Improvements
    • Improved screen-reader labeling and navigation across Long-Term Memory settings, memory management, review, import, and source workspaces.
    • Added clearer announcements for loading, status updates, dialogs, lists, action groups, and live content changes.
    • Improved keyboard and mobile control semantics, including tab panels, menus, buttons, and form fields.
  • UI Improvements
    • Corrected localized action labels and refined destination labeling.
  • Maintenance
    • Updated catalog and package metadata to reflect the latest build artifacts.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/139 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 7/30/2026 **Status:** ✅ Merged **Merged:** 7/30/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `fix/ltm-aria-accessibility` --- ### 📝 Commits (2) - [`438dec4`](https://github.com/Pasta-Devs/Marinara-Agents/commit/438dec4b3ebce7017536d5c722db34739bb7ce07) fix(ltm): improve accessibility semantics - [`c00acc9`](https://github.com/Pasta-Devs/Marinara-Agents/commit/c00acc9971060bce547f163c0cb3c8dc8c6d0c61) fix(ltm): track background refresh state ### 📊 Changes **18 files changed** (+315 additions, -223 deletions) <details> <summary>View changed files</summary> 📝 `artifacts/long-term-memory-1.0.1.zip` (+0 -0) 📝 `catalog/catalog.json` (+5 -5) 📝 `catalog/v2/catalog.json` (+5 -5) 📝 `catalog/v3/catalog.json` (+1 -1) 📝 `packages/long-term-memory/client.js` (+18 -18) 📝 `packages/long-term-memory/manifest.json` (+2 -2) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ActivityView.tsx` (+29 -6) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ChatSettings.tsx` (+1 -1) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ExtractionPromptTemplates.tsx` (+27 -23) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LastInjectionSummary.tsx` (+1 -0) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryDetail.tsx` (+45 -24) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryNavigation.tsx` (+2 -1) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemorySettings.tsx` (+10 -2) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx` (+49 -23) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ReviewQueue.tsx` (+16 -2) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/SourcesWorkspace.tsx` (+98 -105) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json` (+4 -3) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/shared-controls.tsx` (+2 -2) </details> ### 📄 Description ## Linked issue Closes #138 ## Why this change Long-Term Memory controls and dynamic surfaces need reliable accessible names, relationships, selected-state reporting, and live-region behavior across supported workflows. ## What changed - Added and corrected ARIA labels, labelled-by relationships, tab and tabpanel relationships, pressed states, popup controls, status/error semantics, and action-group names across Long-Term Memory UI surfaces. - Removed invalid responsive tab behavior where panes are simultaneously visible on desktop; mobile pane selectors use native button pressed state. - Removed stale localization keys and rebuilt the Long-Term Memory client, manifest, artifact, and catalog entries. - Affected package ID: `long-term-memory`. ## Package and security impact - Affected package IDs: `long-term-memory` - Engine compatibility impact: none; remains compatible with Marinara Engine `>=2.3.5 <2.4.0` - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: package client update; manifest still requires the existing restart behavior ## Validation - [x] `node scripts/validate-catalog.mjs` passes locally - [x] `git diff --check` passes locally - [x] Rebuilt every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Rebuilt with `node scripts/build-feature-packages.mjs long-term-memory`. - Ran `node scripts/test-catalog-lanes.mjs`. - Ran `node scripts/validate-catalog.mjs`. - Ran `git diff --check`. - Verified in Chromium DevTools that `#ltm-source-tab-lorebooks` has `role="tab"`, `aria-selected="true"`, and `aria-controls="ltm-source-preview-lorebooks"`, while the target has `role="tabpanel"` and `aria-labelledby="ltm-source-tab-lorebooks"`. - `long-term-memory-showcase.html` and `roleplay-summary-generation-prompt.md` were intentionally excluded. ## Documentation impact - [x] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) Chromium DevTools Elements and Accessibility inspection was used for the Lorebooks tab/tabpanel relationship. Full screenshot evidence was not captured. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Accessibility Improvements** * Improved screen-reader labeling and navigation across Long-Term Memory settings, memory management, review, import, and source workspaces. * Added clearer announcements for loading, status updates, dialogs, lists, action groups, and live content changes. * Improved keyboard and mobile control semantics, including tab panels, menus, buttons, and form fields. * **UI Improvements** * Corrected localized action labels and refined destination labeling. * **Maintenance** * Updated catalog and package metadata to reflect the latest build artifacts. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-20 17:31:22 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#826
No description provided.