Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Commit 62e59c2

Browse files
Merge pull request #6054 from department-of-veterans-affairs/content-instructions-update
Adds latest metrics, fixes content for new component, fixes skill, and content prompt
2 parents 6ed1424 + 372cb58 commit 62e59c2

5 files changed

Lines changed: 21 additions & 7 deletions

File tree

.claude/skills/mermaid-charts/SKILL.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
---
2+
name: mermaid-charts
3+
description: Creates and standardizes Mermaid decision flowcharts in VA Design System documentation, including templates, node types, accessibility alternatives, and the standard Jekyll include pattern.
4+
triggers:
5+
- mermaid chart
6+
- decision flowchart
7+
- mermaid diagram
8+
- flowchart TD
9+
- create a chart
10+
- add a chart
11+
---
12+
113
# SKILL: Mermaid Chart Implementation
214

315
## Overview

.github/prompts/Guidance-follow-content-style-guide.prompt.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ This includes specific guidance on:
3131

3232
When the changed files include component documentation in `src/_components/`, also apply these standards:
3333

34-
[component-guidance.instructions.md](../instructions/component-guidance.instructions.md)
35-
3634
[component-guidance-structure.instructions.md](../instructions/component-guidance-structure.instructions.md)
3735

3836
## Review Process

src/_about/metrics/index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -752,9 +752,13 @@ <h2 id="monthly-analytics-heading">Monthly Analytics</h2>
752752
<h3>Top 25 Pages</h3>
753753
<p>The most visited pages of design.va.gov</p>
754754
<div class="data-freshness" id="monthly-analytics-data-freshness">
755-
<small>Data from January 2026 Google Analytics report</small>
755+
<small>Data from March 2026 Google Analytics report</small>
756756
</div>
757757
<div class="monthly-reports-static">
758+
<div class="report-item">
759+
<h4>March 2026</h4>
760+
<img src="{{ site.baseurl }}/assets/img/metrics/looker-report-2026-03.png" alt="Bar chart showing the top 25 most visited pages on design.va.gov for March 2026" />
761+
</div>
758762
<div class="report-item">
759763
<h4>January 2026</h4>
760764
<img src="{{ site.baseurl }}/assets/img/metrics/looker-report-2026-01.png" alt="Bar chart showing the top 25 most visited pages on design.va.gov for January 2026" />

src/_components/details.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Use a reduced width when you need Details to take up less space on the page.
3737
* **Revealing helpful background information.** Use this component when you have additional information about an application, process, or form step that isn't critical. Use this component in instances where a more prominent [Alert]({{ site.baseurl }}/components/alert) wouldn't be appropriate.
3838
* **Explaining the impact of a choice.** If a user's answer will significantly affect their results or next steps, use Details to put that explanation right next to the relevant field.
3939
* **Information closely tied to an input.** Use this component over an [Accordion]({{ site.baseurl }}/components/accordion) when the content is closely tied to a particular message or input on the screen. If the content is only loosely related, use an Accordion instead.
40-
* **Clarifying a form question.** If a form question needs clarification, and that clarification is brief, use Details. The lighter design doesn't interrupt the flow of the form. These can also serve as an alternative when accordions feel too heavy or when hint text isn't enough. Be sure to review the [hint text guidance]({{ site.baseurl }}/components/form/label#hint-text) for more information.
40+
* **Clarifying a form question.** If a form question needs clarification, and that clarification is brief, use Details. The lighter design doesn't interrupt the flow of the form. These can also serve as an alternative when Accordions feel too heavy or when hint text isn't enough. Be sure to review the [hint text guidance]({{ site.baseurl }}/components/form/label#hint-text) for more information.
4141
* **Content that can be organized under the current heading.** If you have additional content that provides context and makes sense under the same heading as the content nearby.
4242
* **Information not applicable to all.** The Details component can hide information that doesn't apply to all users.
4343

@@ -59,14 +59,14 @@ The Details component uses native HTML `<details>` and `<summary>` elements, whi
5959

6060
* **Searchable and discoverable content.** Browser search (Ctrl+F or Cmd+F) can find text inside collapsed Details, and search engines can index the content for better search engine optimization (SEO).
6161
* **Better performance and reliability.** This component requires no JavaScript for basic functionality, improving load times and ensuring content works even when JavaScript fails.
62-
* **Enhanced accessibility.** Native semantic meaning provides better assistive technology support without additional ARIA attributes, following web standards universally supported across browsers.
62+
* **Enhanced accessibility.** Native semantic meaning provides better assistive technology support without additional Accessible Rich Internet Applications (ARIA) attributes, following web standards universally supported across browsers.
6363

6464
### Placement
6565

6666
You can use Details in these places:
6767

6868
* After a header (h2, h3, or h4) or paragraph to provide supplementary information or answer a common question
69-
* Within a [Process list]({{ site.baseurl }}/components/process-list) to shorten the length of content within a step
69+
* Within a [Process List]({{ site.baseurl }}/components/process-list) to shorten the length of content within a step
7070
* Within, or at the end, of a [Form]({{ site.baseurl }}/components/form/label#with-details) to provide additional help text
7171
* When you need to help users understand a particular choice
7272

@@ -82,7 +82,7 @@ You can use Details in these places:
8282

8383
## Accessibility considerations
8484

85-
* **Wrap content in HTML elements.** Place all text content inside `va-details` within an appropriate HTML element such as `<p>`, `<span>`, or `<div>`. Some screen readers, particularly NVDA, may ignore unwrapped plain text. For example, use `<p>This is the content.</p>` instead of placing text directly inside the component without a wrapper element.
85+
* **Wrap content in HTML elements.** Place all text content inside `va-details` within an appropriate HTML element such as `<p>`, `<span>`, or `<div>`. Some screen readers, particularly NonVisual Desktop Access (NVDA), may ignore unwrapped plain text. For example, use `<p>This is the content.</p>` instead of placing text directly inside the component without a wrapper element.
8686
* **Don't add ARIA roles or state attributes.** The Details component uses the `<details>` HTML element that exposes expanded/collapsed state and interactive behavior natively. Adding any `role="button"` or `aria-expanded` is redundant and can create conflicting announcements in assistive technology.
8787
* **Native keyboard interaction.** Users can tab to the component and toggle it open or closed with Enter or Space. If the component contains interactive elements, the next Tab keypress moves focus to those elements.
8888

73.9 KB
Loading

0 commit comments

Comments
 (0)