diff --git a/app/helpers/tasklist_helper.rb b/app/helpers/tasklist_helper.rb index fa4543d25..148f2f1e7 100644 --- a/app/helpers/tasklist_helper.rb +++ b/app/helpers/tasklist_helper.rb @@ -37,7 +37,7 @@ module TasklistHelper def subsection_link(subsection, case_log) if subsection.status(case_log) != :cannot_start_yet next_page_path = first_page_or_check_answers(subsection, case_log).to_s - govuk_link_to(subsection.label, next_page_path.dasherize, class: "task-name") + govuk_link_to(subsection.label, next_page_path.dasherize, aria: { describedby: subsection.id.dasherize }) else subsection.label end diff --git a/app/views/case_logs/_tasklist.html.erb b/app/views/case_logs/_tasklist.html.erb index 6765d6f82..85a8d6349 100644 --- a/app/views/case_logs/_tasklist.html.erb +++ b/app/views/case_logs/_tasklist.html.erb @@ -8,10 +8,13 @@