Просмотр исходного кода

Add aria-label to the documentation searchbar and update the type to search (#25431)

GitOrigin-RevId: 782eb2238636040fedae628b17224f2e91159a34
Rebeka Dekany 1 год назад
Родитель
Сommit
bb66f75027
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      services/web/app/views/_mixins/faq_search-marketing.pug

+ 1 - 1
services/web/app/views/_mixins/faq_search-marketing.pug

@@ -6,7 +6,7 @@ mixin faq_search-marketing(headerText, headerClass)
 			form.project-search.form-horizontal(role="search" data-ol-faq-search)
 				.form-group.has-feedback.has-feedback-left
 					.col-sm-12
-						input.form-control(type='text', placeholder="Search help library…")
+						input.form-control(type='search', placeholder="Search help library…" aria-label="Search help library…")
 						i.fa.fa-search.form-control-feedback-left(aria-hidden="true")
 						i.fa.fa-times.form-control-feedback(
 							style="cursor: pointer;",