Skip to content

Commit

Permalink
adds aria labelled by
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielCouzens committed Aug 15, 2024
1 parent 2aa2e83 commit 5262152
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/views/report_design/select_report.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,24 @@
.row
%fieldset.col-sm-12
%ul.list-unstyled
%li
%li{"aria-labelled-by": "average-prices-report"}
.o-form-control
%label.o-form-control--label
= radio_button_tag( step.form_param, step_values[0].value, step_values[0].active?, class: "o-form-control--input" )
= step_values[0].label
%details
%summary
%summary#average-prices-report
%span.summary
Click to view an example of the average prices and volumes report type
%div.panel
= image_tag( "average-prices-report-screenshot.png", alt: "Screenshot of example average prices report " )
%li
%li{"aria-labelled-by": "banded-prices-report"}
.o-form-control
%label.o-form-control--label
= radio_button_tag( step.form_param, step_values[1].value, step_values[1].active?, class: "o-form-control--input" )
= step_values[1].label
%details
%summary
%summary#banded-prices-report
%span.summary
Click to view an example of the banded prices report type
%div.panel
Expand Down

0 comments on commit 5262152

Please sign in to comment.