Skip to content

🎨 Palette: [UX improvement] Enhance documentation accessibility and visual hierarchy#56

Open
Igor Holt (igor-holt) wants to merge 1 commit into
mainfrom
palette-ux-improvements-17029378154286205731
Open

🎨 Palette: [UX improvement] Enhance documentation accessibility and visual hierarchy#56
Igor Holt (igor-holt) wants to merge 1 commit into
mainfrom
palette-ux-improvements-17029378154286205731

Conversation

@igor-holt
Copy link
Copy Markdown
Member

💡 What: Improved the accessibility and visual hierarchy of the project's documentation.
🎯 Why: Infrastructure projects use the README.md as their primary UI. Clearer diagrams and accessible links improve the developer experience (DX) and ensure the content is usable by everyone, regardless of their theme or assistive technology.
Accessibility:

  • Added a screen-reader friendly title to the Mermaid diagram.
  • Improved link tooltips with title attributes.
  • Used dashed borders and distinct shapes to ensure architectural layers are distinguishable beyond just color.

PR created automatically by Jules for task 17029378154286205731 started by Igor Holt (@igor-holt)

- Added accessible title to Mermaid architecture diagram
- Implemented semantic node shapes (stadium for K8s, hexagon for QS)
- Added dashed subgraph borders for better layer delineation
- Added 'Hybrid Deployment' feature for completeness
- Added descriptive title attribute to license link
- Documented new diagram UX patterns in .Jules/palette.md

Co-authored-by: igor-holt <125706350+igor-holt@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request documents and applies best practices for accessible and theme-resilient Mermaid diagrams. Specifically, it adds a new entry to .Jules/palette.md and updates the architecture diagram in README.md with a title, new node shapes, and dashed subgraph borders, alongside adding a new feature and enhancing the license link. The review feedback suggests clarifying that Mermaid frontmatter must be multi-line to prevent syntax errors, and recommends using comma-separated values (5,5) instead of space-separated values (5 5) for stroke-dasharray to ensure robust rendering across different Markdown viewers.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread .Jules/palette.md
## 2026-06-02 - Accessible and Theme-Resilient Diagrams
**Learning:** Mermaid diagrams in documentation benefit from explicit titles for screen reader context and dashed subgraph borders (`stroke-dasharray`) to delineate layers. These patterns ensure diagrams remain readable and accessible regardless of the user's theme (light/dark) or assistive technology.

**Action:** Include `--- title: [Context] ---` in Mermaid blocks and use dashed borders for subgraphs in infrastructure projects to improve visual and structural clarity.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The action item suggests using --- title: [Context] --- which looks like a single-line statement. In Mermaid, frontmatter must be defined on separate lines (multi-line format) to be parsed correctly. Clarifying this in the journal will prevent syntax errors for developers referencing this pattern.

Suggested change
**Action:** Include `--- title: [Context] ---` in Mermaid blocks and use dashed borders for subgraphs in infrastructure projects to improve visual and structural clarity.
**Action:** Include multi-line frontmatter (using --- delimiters on separate lines) with a title in Mermaid blocks and use dashed borders for subgraphs in infrastructure projects to improve visual and structural clarity.

Comment thread README.md
Comment on lines +42 to +44
style CloudNative stroke-dasharray: 5 5
style Orchestration stroke-dasharray: 5 5
style Infrastructure stroke-dasharray: 5 5
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Using a space-separated value for stroke-dasharray (e.g., 5 5) in Mermaid style declarations can sometimes cause parsing issues in certain rendering engines or Markdown viewers, as spaces are often used to delimit multiple style attributes. Using a comma-separated value (e.g., 5,5) is more robust and widely supported.

Suggested change
style CloudNative stroke-dasharray: 5 5
style Orchestration stroke-dasharray: 5 5
style Infrastructure stroke-dasharray: 5 5
style CloudNative stroke-dasharray: 5,5
style Orchestration stroke-dasharray: 5,5
style Infrastructure stroke-dasharray: 5,5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant