diff --git a/app/views/plans/new.html.erb b/app/views/plans/new.html.erb index bce407a..11f8356 100644 --- a/app/views/plans/new.html.erb +++ b/app/views/plans/new.html.erb @@ -80,7 +80,7 @@ <%= render partial: 'shared/accessible_submit_button', - locals: {id: 'create_plan_submit', val: 'Create Plan', disabled_initially: false} %> + locals: {id: 'create_plan_submit', val: 'Create Plan', disabled_initially: true} %> <% end %> diff --git a/app/views/shared/_accessible_submit_button.html.erb b/app/views/shared/_accessible_submit_button.html.erb index fcf38f5..d3a48ec 100644 --- a/app/views/shared/_accessible_submit_button.html.erb +++ b/app/views/shared/_accessible_submit_button.html.erb @@ -1,9 +1,9 @@ + aria-disabled="<%= disabled_initially %>" + aria-describedby="<%= id %>_tip" />