Skip to content

Fix heading hierarchy and restore proper heading levels (#1261) - #1350

Open
dougchestnut wants to merge 1 commit into
eclipse-pass:mainfrom
uvalib:1261-fix-heading-hierarchy
Open

Fix heading hierarchy and restore proper heading levels (#1261)#1350
dougchestnut wants to merge 1 commit into
eclipse-pass:mainfrom
uvalib:1261-fix-heading-hierarchy

Conversation

@dougchestnut

Copy link
Copy Markdown
Contributor

Description

Addresses accessibility and semantic heading hierarchy issues identified in eclipse-pass/main#1261.

Changes

  • Updated page-level headings to <h1> across templates (dashboard, not-found-error, workflow-wrapper).
  • Replaced header tags in brand banner with <span> (brand-header-title).
  • Adjusted section and block level headings (<h2>, <h3>) throughout workflow and detail pages (grants/detail, submissions/detail, workflow-grants, workflow-repositories, workflow-review, policy-card).
  • Added typography utility classes in app.css (.brand-header-title, .page-heading, .section-title, .subsection-title, .block-title) to decouple semantic structure from visual presentation and preserve visual styling.
  • Updated integration tests to match revised heading structure (workflow-grants-test.ts).

Issue

Fixes eclipse-pass/main#1261

…#1261)

Updates headings across templates and components to follow semantic hierarchy:
- Update top-level page titles to h1 and adjust section/subsection levels (h2, h3).
- Introduce helper typography classes in app.css (.brand-header-title, .page-heading, .section-title, .subsection-title, .block-title).
- Update tests matching new heading selectors.

Fixes eclipse-pass/main#1261

Signed-off-by: Doug Chestnut <dougchestnut@gmail.com>
@sonarqubecloud

Copy link
Copy Markdown

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.

Order page headings sequentially for accessibility and a11y tooling

1 participant