Skip to content

PPHA-671: Add question to change text in hidden span#382

Open
jamiefalcus wants to merge 2 commits intomainfrom
PPHA-671-change-link-hidden-description
Open

PPHA-671: Add question to change text in hidden span#382
jamiefalcus wants to merge 2 commits intomainfrom
PPHA-671-change-link-hidden-description

Conversation

@jamiefalcus
Copy link
Contributor

@jamiefalcus jamiefalcus commented Mar 18, 2026

What is the change?

Add hidden description test to change links on check your answers

Why are we making this change?

Allows those using screen readers to more easily know what the change link is referring to

Copilot AI review requested due to automatic review settings March 18, 2026 15:16
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR improves accessibility on the “Check your answers” page by adding additional hidden context to “Change” links so screen-reader users can better understand what each link relates to.

Changes:

  • Add visuallyHiddenText to summary-list action items generated by ResponseSetPresenter.
  • Add a visually-hidden description to the per-smoking-type “Change” link in responses.jinja.
  • Minor Terraform locals alignment/formatting.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 3 comments.

File Description
lung_cancer_screening/questions/presenters/response_set_presenter.py Adds hidden text metadata to “Change” action links in summary list rows.
lung_cancer_screening/questions/jinja2/responses.jinja Adds a visually-hidden span to clarify the “Change” link for smoking-history sections.
infrastructure/terraform/spoke/variables.tf Formatting-only alignment in locals.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jamiefalcus jamiefalcus changed the title PPHA-Add question to change text in hidden span PPHA-671: Add question to change text in hidden span Mar 18, 2026
@jamiefalcus jamiefalcus force-pushed the PPHA-671-change-link-hidden-description branch from 949ccab to 8be8a45 Compare March 19, 2026 10:27
@jamiefalcus jamiefalcus force-pushed the PPHA-671-change-link-hidden-description branch from 8be8a45 to f03abd5 Compare March 19, 2026 11:58
@sonarqubecloud
Copy link

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.

3 participants