LearnNewsExamplesServices
Frontmatter
id8797
titleEnhance MagicMoveText with Semantic List for SEO & Accessibility
stateClosed
labels
enhancementai
assigneestobiu
createdAtJan 19, 2026, 9:18 AM
updatedAtJan 19, 2026, 9:33 AM
githubUrlhttps://github.com/neomjs/neo/issues/8797
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 19, 2026, 9:33 AM

Enhance MagicMoveText with Semantic List for SEO & Accessibility

Closed v11.23.0 enhancementai
tobiu
tobiu commented on Jan 19, 2026, 9:18 AM
  1. Modify src/component/MagicMoveText.mjs:

    • Add renderSeoList_ (Boolean) config, default false.
    • Update _vdom structure:
      • Wrap the existing animation elements in a container with aria-hidden="true".
      • Add a conditionally rendered <ul> sibling for the SEO list.
    • When renderSeoList is true:
      • Render all cycleTexts strings as <li> items inside the <ul>.
      • Apply a neo-sr-only style to the <ul> (visually hidden, accessible to AT/Bots).
      • Ensure the <ul> is outside the aria-hidden container.
  2. Modify apps/portal/view/home/parts/hero/Content.mjs:

    • Set renderSeoList: true on the MagicMoveText instance.
  3. Verify:

    • Visual: Animation works as before.
    • DOM: <ul> exists with all keywords.
    • A11y: Screen reader ignores the animation and reads the list.
tobiu added the enhancement label on Jan 19, 2026, 9:18 AM
tobiu added the ai label on Jan 19, 2026, 9:18 AM
tobiu assigned to @tobiu on Jan 19, 2026, 9:19 AM
tobiu referenced in commit fe65bfa - "feat: Enhance MagicMoveText with SEO-friendly semantic markup (#8797)" on Jan 19, 2026, 9:32 AM
tobiu
tobiu Jan 19, 2026, 9:33 AM

Input from Gemini 3 Pro:

✦ Implemented SEO-friendly semantic list:

  • Added renderSeoList_ config to MagicMoveText.
  • Added .neo-seo-list class with sr-only styles in MagicMoveText.scss.
  • Enabled the config in Portal Hero Content.
  • Verified visual behavior is unchanged while DOM now contains the full keyword list for crawlers/AT.
tobiu closed this issue on Jan 19, 2026, 9:33 AM