diff --git a/layouts/joomla/form/field/tel.php b/layouts/joomla/form/field/tel.php index b01e8d7d380bd..cd3cbbad5b183 100644 --- a/layouts/joomla/form/field/tel.php +++ b/layouts/joomla/form/field/tel.php @@ -54,15 +54,15 @@ $attributes = array( !empty($size) ? 'size="' . $size . '"' : '', - $disabled ? 'disabled' : '', - $readonly ? 'readonly' : '', + $disabled ? 'disabled="disabled"' : '', + $readonly ? 'readonly="readonly"' : '', strlen($hint) ? 'placeholder="' . $hint . '"' : '', $autocomplete, - $autofocus ? ' autofocus' : '', + $autofocus ? ' autofocus="autofocus"' : '', $spellcheck ? '' : 'spellcheck="false"', $onchange ? ' onchange="' . $onchange . '"' : '', !empty($maxLength) ? $maxLength : '', - $required ? 'required aria-required="true"' : '', + $required ? 'required="required" aria-required="true"' : '', ); ?>