diff --git a/app/views/contributors/_form.html.erb b/app/views/contributors/_form.html.erb index e848cc8cd6..4c9ef30562 100644 --- a/app/views/contributors/_form.html.erb +++ b/app/views/contributors/_form.html.erb @@ -80,7 +80,8 @@ roles_tooltip = _("Select each role that applies to the contributor.") <%= form.check_box hash.keys.first.to_sym, value: hash.values.first, data: { toggle: "tooltip" }, - title: ContributorPresenter.role_tooltip(symbol: hash.keys.first) %> + title: ContributorPresenter.role_tooltip(symbol: hash.keys.first), + aria: { label: ContributorPresenter.role_symbol_to_string(symbol: hash.keys.first) } %> <%= ContributorPresenter.role_symbol_to_string(symbol: hash.keys.first) %> diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 889b85f939..413a834038 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -101,7 +101,6 @@
diff --git a/app/views/layouts/modal_search/_form.html.erb b/app/views/layouts/modal_search/_form.html.erb index a6a15e59cd..cf4501d08b 100644 --- a/app/views/layouts/modal_search/_form.html.erb +++ b/app/views/layouts/modal_search/_form.html.erb @@ -60,7 +60,8 @@ no_results_msg = _("No results matched your filter criteria.") <%= f.text_field :search_term, class: "form-control autocomplete col-md-6", - placeholder: search_placeholder %> + placeholder: search_placeholder, + aria: { label: search_placeholder } %><%= _('To help you write your plan, %{application_name} can show you guidance from a variety of organisations.') % { application_name: app_name } %>
<%= _('Public or organisational visibility is intended for finished plans. You must answer at least %{percentage}%% of the questions to enable these options. Note: test plans are set to private visibility by default.') % { :percentage => Rails.configuration.x.plans.default_percentage_answered } %>
<% allow_visibility = @plan.visibility_allowed? %> <%= form_with model: @plan, id: "set_visibility" do |f| %>