Summary
ASCII directory trees on two documentation pages expose their filenames as flat code text in NVDA. The parent-child relationships conveyed visually through indentation and box-drawing characters are not available at NVDA's default punctuation setting.
This was discovered during the manual assistive-technology pass for #2566, but neither affected page is part of that pull request's origin/main...HEAD diff.
Steps to reproduce
- Build and serve the Docusaurus documentation site.
- Start NVDA and enable browse mode.
- Open
/hve-core/docs/customization/skills and navigate to Directory Structure.
- Read the preformatted directory tree.
- Repeat on
/hve-core/docs/customization/prompts under Prompt Basics.
Observed behavior
NVDA reads the folder and file names but does not communicate nesting levels or parent-child relationships. For example, the spoken output does not establish that scripts/ is a child of api-review/ or that validate-openapi.sh is a child of scripts/.
Edge exposes each block with a code role and its complete text. NVDA not literally announcing “diagram” or “code block” is not the finding; the missing directory relationships are.
Expected behavior
A screen-reader user can determine the same folder and file relationships conveyed visually, at default punctuation settings.
Environment
- Windows 11
- Microsoft Edge 151.0.4129.72
- NVDA 2026.1.1
- NVDA browse mode
- Local Docusaurus production build
Affected content
docs/customization/skills.md
docs/customization/prompts.md
Proposed remediation
Preserve the visual tree if useful, but provide an equivalent semantic nested list or explicit hierarchy description. Avoid duplicate spoken output when both representations are present.
Add regression coverage that identifies tree-style preformatted blocks without a nearby semantic equivalent.
Acceptance criteria
Accessibility assessment
- Manual result:
verified fail
- Candidate criterion: WCAG 2.2 SC 1.3.1, Information and Relationships
The criterion mapping remains subject to qualified accessibility review.
Summary
ASCII directory trees on two documentation pages expose their filenames as flat code text in NVDA. The parent-child relationships conveyed visually through indentation and box-drawing characters are not available at NVDA's default punctuation setting.
This was discovered during the manual assistive-technology pass for #2566, but neither affected page is part of that pull request's
origin/main...HEADdiff.Steps to reproduce
/hve-core/docs/customization/skillsand navigate to Directory Structure./hve-core/docs/customization/promptsunder Prompt Basics.Observed behavior
NVDA reads the folder and file names but does not communicate nesting levels or parent-child relationships. For example, the spoken output does not establish that
scripts/is a child ofapi-review/or thatvalidate-openapi.shis a child ofscripts/.Edge exposes each block with a
coderole and its complete text. NVDA not literally announcing “diagram” or “code block” is not the finding; the missing directory relationships are.Expected behavior
A screen-reader user can determine the same folder and file relationships conveyed visually, at default punctuation settings.
Environment
Affected content
docs/customization/skills.mddocs/customization/prompts.mdProposed remediation
Preserve the visual tree if useful, but provide an equivalent semantic nested list or explicit hierarchy description. Avoid duplicate spoken output when both representations are present.
Add regression coverage that identifies tree-style preformatted blocks without a nearby semantic equivalent.
Acceptance criteria
Accessibility assessment
verified failThe criterion mapping remains subject to qualified accessibility review.