localgovdrupal / localgov_step_by_step

Implemention of the Gov.uk Step by step navigation journeys for LocalGovDrupal
GNU General Public License v2.0
1 stars 1 forks source link

Visible label and aria label do not match in step summaries #104

Closed chriswales95 closed 2 months ago

chriswales95 commented 2 months ago

A client flagged that the step-by-step summary aria-label and button text don't match. This seems to fail WCAG 2.2 2.5.3 Label in Name:

SiteImprove flags it on the LocalGov demo site too: Screenshot 2024-08-20 at 12 03 59

This simple solution seems to be changing the aria label to include the button text at the start. I'll make a PR for this.

chriswales95 commented 2 months ago

Closed since it duplicates #66.