From 800e27716ad70fb5b334efd28e648e155f3cd639 Mon Sep 17 00:00:00 2001 From: Holden Foreman <38192823+hs4man21@users.noreply.github.com> Date: Thu, 15 Dec 2022 12:46:13 -0500 Subject: [PATCH] [Glitch] Fix language surrounding disability in prompts for alt text and other media descriptions Port cf06626067b13a3c269f7c9fa4ee82c6624e5ca7 to glitch-soc Signed-off-by: Claire --- .../glitch/features/ui/components/focal_point_modal.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/javascript/flavours/glitch/features/ui/components/focal_point_modal.js b/app/javascript/flavours/glitch/features/ui/components/focal_point_modal.js index de330b3a15..0dd07fb76b 100644 --- a/app/javascript/flavours/glitch/features/ui/components/focal_point_modal.js +++ b/app/javascript/flavours/glitch/features/ui/components/focal_point_modal.js @@ -291,11 +291,11 @@ class FocalPointModal extends ImmutablePureComponent { let descriptionLabel = null; if (media.get('type') === 'audio') { - descriptionLabel = ; + descriptionLabel = ; } else if (media.get('type') === 'video') { - descriptionLabel = ; + descriptionLabel = ; } else { - descriptionLabel = ; + descriptionLabel = ; } let ocrMessage = '';