Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(accessibility) add ARIA attributes to file upload progress bar (#16311)
Mihaela Dumitruded8f2236348
diff --git a/lang/main.json b/lang/main.jsonindex 3057347361..e4346b75f7 100644--- a/lang/main.json+++ b/lang/main.json@@ -570,6 +570,7 @@"fileAlreadyUploaded": "File has already been uploaded to this meeting.","fileTooLargeDescription": "Please make sure the file does not exceed {{ maxFileSize }}.","fileTooLargeTitle": "The selected file is too large",+ "fileUploadProgress": "File upload progress","fileUploadedSuccessfully": "File uploaded successfully","removeFile": "Remove","uploadFailedDescription": "Please try again.",diff --git a/react/features/file-sharing/components/web/FileSharing.tsx b/react/features/file-sharing/components/web/FileSharing.tsxindex 9d2d01d717..808965deac 100644--- a/react/features/file-sharing/components/web/FileSharing.tsx+++ b/react/features/file-sharing/components/web/FileSharing.tsx@@ -372,11 +372,19 @@ const FileSharing = () => {}{(file.progress ?? 100) < 100 && (- <div className = { classes.progressBar }>+ <><div- className = { classes.progressFill }- style = {{ width: `${file.progress}%` }} />- </div>+ aria-label = { t('fileSharing.fileUploadProgress') }+ aria-valuemax = { 100 }+ aria-valuemin = { 0 }+ aria-valuenow = { file.progress }+ className = { classes.progressBar }+ role = 'progressbar'>+ <div+ className = { classes.progressFill }+ style = {{ width: `${file.progress}%` }} />+ </div>+ </>)}</li>