From c459625119ec65e04197c993ddf5c3249471dafa 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 c761e7a5ef89afd4ed7ac470ad1155a78d3c4cfa 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 de330b3a1..0dd07fb76 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 = '';