If a user adds an image, the text they possibly started writing is now copied from input field and shows in file preview input, but not in the original input. If they cancel sending the message, the original input remains cleared. I decided not to move focus to input after all, since I felt maybe it's better for screen reader users after all to first go to menu. This can be changed if necessary. Also added in some missing aria-labels to buttons in file preview, and renamed modal depending on if the user is recording audio or not.
If a user adds an image, the text they possibly started writing is now copied from input field and shows in file preview input, but not in the original input. If they cancel sending the message, the original input remains cleared. I decided not to move focus to input after all, since I felt maybe it's better for screen reader users after all to first go to menu. This can be changed if necessary. Also added in some missing aria-labels to buttons in file preview, and renamed modal depending on if the user is recording audio or not.