<% var templateData = { settings: settings, data: data, criteria: criteria, translate: translate }; var isRadioOrCheckbox; %>

Job offers

Screen readers, activate button and press tab to move through list of checkboxes
<% _.each(criteria, function(criterium, i) { %> <% criterium.bindWithHtml = ''; if (!criterium.type) { if (criterium.id === 'JobAdlg' || criterium.id === 'pDateL') { criterium.type = "DROP_DOWN_LIST"; } } isRadioOrCheckbox = _.contains(['CHECK_BOX', 'CHECK_BOX_BLOCK', 'RADIO_BUTTON', 'RADIO_BUTTON_BLOCK'],criterium.type); var item = data.fields[criterium.id]; if (item && item.bindWith) { criterium.bindWithHtml = ' data-lumesse-sc-bind-with="'+item.bindWith+'"'; } %> <% if (isRadioOrCheckbox) { %>
<% } %> <% if (criterium.id == 'keywords'){ %>
<% if (criterium.type == 'DROP_DOWN_LIST') { %> <% } else if (criterium.type == 'SCROLLING_WINDOW') { %> <% } else if (isRadioOrCheckbox) { %> <% } else if (criterium.items) { %> <% } else { %> > <% } %>
<% } else if (criterium.id == 'Resultsperpage'){ %>
<% if (criterium.type == 'DROP_DOWN_LIST') { %> <% } else if (criterium.type == 'SCROLLING_WINDOW') { %> <% } else if (isRadioOrCheckbox) { %> <% } else if (criterium.items) { %> <% } else { %> > <% } %>
<% }else if(criterium.type == 'SCROLLING_WINDOW') { %>
    <% } else { %>
    <% if (criterium.type == 'DROP_DOWN_LIST') { %> <% } else if (criterium.type == 'SCROLLING_WINDOW') { %> <% } else if (isRadioOrCheckbox) { %> <% } else if (criterium.items) { %> <% } else { %> > <% } %>
    <% } %> <% if (isRadioOrCheckbox) { %>
    <% } %> <% }); %>