You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository is currently being migrated. It's locked while the migration is in progress.
Copy file name to clipboardExpand all lines: .claude/skills/mermaid-charts/SKILL.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff 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.
<small>Data from January 2026 Google Analytics report</small>
755
+
<small>Data from March 2026 Google Analytics report</small>
756
756
</div>
757
757
<divclass="monthly-reports-static">
758
+
<divclass="report-item">
759
+
<h4>March 2026</h4>
760
+
<imgsrc="{{ 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>
758
762
<divclass="report-item">
759
763
<h4>January 2026</h4>
760
764
<imgsrc="{{ 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" />
Copy file name to clipboardExpand all lines: src/_components/details.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ Use a reduced width when you need Details to take up less space on the page.
37
37
***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.
38
38
***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.
39
39
***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.
41
41
***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.
42
42
***Information not applicable to all.** The Details component can hide information that doesn't apply to all users.
43
43
@@ -59,14 +59,14 @@ The Details component uses native HTML `<details>` and `<summary>` elements, whi
59
59
60
60
***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).
61
61
***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.
63
63
64
64
### Placement
65
65
66
66
You can use Details in these places:
67
67
68
68
* 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
70
70
* Within, or at the end, of a [Form]({{ site.baseurl }}/components/form/label#with-details) to provide additional help text
71
71
* When you need to help users understand a particular choice
72
72
@@ -82,7 +82,7 @@ You can use Details in these places:
82
82
83
83
## Accessibility considerations
84
84
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.
86
86
***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.
87
87
***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.
0 commit comments