| @@ -72,9 +72,9 @@ | ||
| 72 | 72 | // Specific date option |
| 73 | 73 | $result .= '<div class="cell date_rs_selection_choice date_rs_selection_specific grid-x align-center acym_vcenter" style="display: none;"> |
| 74 | 74 | <span class="cell shrink margin-right-1">'.acym_translation('ACYM_CHOOSE_DATE').'</span> |
| 75 | 75 | <div class="cell shrink"> |
| 76 | - <input type="text" name="specific_'.esc_attr($name).'" class="acy_date_picker" data-acym-translate="0" readonly> | |
| 76 | + <input type="datetime-local" name="specific_'.esc_attr($name).'" class="acy_date_picker"> | |
| 77 | 77 | </div> |
| 78 | 78 | </div> |
| 79 | 79 | <div class="cell grid-x grid-margin-x"> |
| 80 | 80 | <div class="cell auto"></div> |
| @@ -241,9 +241,9 @@ | ||
| 241 | 241 | $return[] = '<div class="medium-3 margin-left-0 margin-right-0 cell">'.acym_select( |
| 242 | 242 | $days, |
| 243 | 243 | $name, |
| 244 | 244 | empty($defaultDate[2]) || $defaultDate[2] === '00' ? '' : $defaultDate[2], |
| 245 | - $attributes, | |
| 245 | + array_merge($attributes, ['aria-label' => acym_translation('ACYM_DAY')]), | |
| 246 | 246 | 'value', |
| 247 | 247 | 'text', |
| 248 | 248 | $name.'-'.$one |
| 249 | 249 | ).'</div>'; |
| @@ -257,9 +257,9 @@ | ||
| 257 | 257 | $return[] = '<div class="medium-5 cell">'.acym_select( |
| 258 | 258 | $month, |
| 259 | 259 | $name, |
| 260 | 260 | empty($defaultDate[1]) || $defaultDate[1] === '00' ? '' : $defaultDate[1], |
| 261 | - $attributes, | |
| 261 | + array_merge($attributes, ['aria-label' => acym_translation('ACYM_MONTH')]), | |
| 262 | 262 | 'value', |
| 263 | 263 | 'text', |
| 264 | 264 | $name.'-'.$one |
| 265 | 265 | ).'</div>'; |
| @@ -273,9 +273,9 @@ | ||
| 273 | 273 | $return[] = '<div class="medium-4 margin-right-0 cell">'.acym_select( |
| 274 | 274 | $year, |
| 275 | 275 | $name, |
| 276 | 276 | empty($defaultDate[0]) || $defaultDate[0] === '0000' ? '' : $defaultDate[0], |
| 277 | - $attributes, | |
| 277 | + array_merge($attributes, ['aria-label' => acym_translation('ACYM_YEAR')]), | |
| 278 | 278 | 'value', |
| 279 | 279 | 'text', |
| 280 | 280 | $name.'-'.$one |
| 281 | 281 | ).'</div>'; |