From d5a295f8c0d44dbdce5715c1e96f9492493ba9d5 Mon Sep 17 00:00:00 2001 From: Claire Date: Fri, 16 Jun 2023 12:03:06 +0200 Subject: [PATCH] [Glitch] Fix non-interactive upload container being given a `button` role and tabIndex Port 7c70237d7ee361311c058ada4deccd626e28f8a5 to glitch-soc Signed-off-by: Claire --- .../flavours/glitch/features/compose/components/upload.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/features/compose/components/upload.jsx b/app/javascript/flavours/glitch/features/compose/components/upload.jsx index b55657e912..5685759f8d 100644 --- a/app/javascript/flavours/glitch/features/compose/components/upload.jsx +++ b/app/javascript/flavours/glitch/features/compose/components/upload.jsx @@ -46,7 +46,7 @@ export default class Upload extends ImmutablePureComponent { const y = ((focusY / -2) + .5) * 100; return ( -
+
{({ scale }) => (