Skip to content

Commit

Permalink
Add aria-label to search-filter (podtéma), changed titles in search-f…
Browse files Browse the repository at this point in the history
…ilters
  • Loading branch information
TomasThurMg committed Oct 25, 2022
1 parent 88aa337 commit cfb923f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions app/views/komponenty/search-filter.njk
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"group": 1,
"id": "tema",
"isRadio": true,
"searchInputTitle": "Filter téma",
"searchInputTitle": "Filter podľa témy",
"searchInputId": "idsk-search-input__topic",
"radios": [
{
Expand Down Expand Up @@ -96,7 +96,7 @@
"id": "podtema",
"isRadio": true,
"isSubtopic": true,
"searchInputTitle": "Filter podtéma",
"searchInputTitle": "Filter podľa podtémy",
"searchInputId": "idsk-search-input__subtopic",
"radios": [
{
Expand Down Expand Up @@ -173,7 +173,7 @@
"isCheckBox": true,
"filterClass": "idsk-search-results__content-type-filter",
"searchInputId": "idsk-search-input__content-type",
"searchInputTitle": "Filter typ obsahu",
"searchInputTitle": "Filter podľa typu obsahu",
"checkBoxItems": [
{
"value": "Rozvoj-regiónov",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ examples:
id: 'tema'
isRadio: true
searchInputId: idsk-search-input__topic
searchInputTitle: Filter téma
searchInputTitle: Filter podľa témy
radios:
- name: Eurofondy
value: Eurofondy
Expand All @@ -110,7 +110,7 @@ examples:
isRadio: true
isSubtopic: true
searchInputId: idsk-search-input__subtopic
searchInputTitle: Filter podtéma
searchInputTitle: Filter podľa podtémy
radios:
- name: Výzvy pre rozvoj regiónov
value: Výzvy-pre-rozvoj-regiónov
Expand Down Expand Up @@ -140,7 +140,7 @@ examples:
isCheckBox: true
filterClass: idsk-search-results__content-type-filter
searchInputId: idsk-search-input__content-type
searchInputTitle: Filter typ obsahu
searchInputTitle: Filter podľa obsahu
checkBoxItems:
- value: Rozvoj regiónov
text: Rozvoj regiónov
Expand Down
2 changes: 1 addition & 1 deletion src/idsk/components/search-results-filter/template.njk
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<div class="idsk-search-results__list">
{% if item.isRadio %}
{% if item.radios.length > 10 %}
<input class="govuk-input idsk-search-results__search__input" type="text" title="{{item.searchInputId}}" name="{{item.searchInputId}}" id="{{item.searchInputId}}">
<input class="govuk-input idsk-search-results__search__input" type="text" title="{{item.searchInputTitle}}" name="{{item.searchInputId}}" id="{{item.searchInputId}}">
{% endif %}
{% from "../../components/customer-surveys-radios/macro.njk" import idskCustomerSurveysRadios %}
{{ idskCustomerSurveysRadios({
Expand Down

0 comments on commit cfb923f

Please sign in to comment.