diff --git a/core/modules/editor/src/Form/EditorImageDialog.php b/core/modules/editor/src/Form/EditorImageDialog.php
index 3e5485d16b..564252a39b 100644
--- a/core/modules/editor/src/Form/EditorImageDialog.php
+++ b/core/modules/editor/src/Form/EditorImageDialog.php
@@ -141,7 +141,7 @@ public function buildForm(array $form, FormStateInterface $form_state, Editor $e
     }
     $form['attributes']['alt'] = [
       '#title' => $this->t('Alternative text'),
-      '#description' => $this->t('Short description of the image used by screen readers and displayed when the image isn\'t loaded; important for accessibility.'),
+      '#description' => $this->t("Short description of the image used by screen readers and displayed when the image isn't loaded; 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).'),
