Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / editor / src / Form / EditorImageDialog.php
index 0e148d22f1103b3de8fca8f615cfdd86d23c9c4b..0de74e5b0c0133ef5f4575ec58046764f78b2f58 100644 (file)
@@ -141,7 +141,7 @@ class EditorImageDialog extends FormBase {
     }
     $form['attributes']['alt'] = [
       '#title' => $this->t('Alternative text'),
-      '#placeholder' => $this->t('Short description for the visually impaired'),
+      '#description' => $this->t('Short description of the image used by screen readers and displayed when the image is not loaded. This is important for accessibility.'),
       '#type' => 'textfield',
       '#required' => TRUE,
       '#required_error' => $this->t('Alternative text is required.<br />(Only in rare cases should this be left empty. To create empty alternative text, enter <code>""</code> — two double quotes without any content).'),