Metadecidim
Sign in

Process

Co-creating the roadmap 2025–2027

accepted in progress not yet on protocol

File upload button redesign

The file upload buttons are a bit sad, maybe we could redesign them to make them consistent with the rest of Decidim?

I suggest something like that :

https://codepen.io/adambene/pen/xRWrXN

Documents

3 comments

  1. I would suggest rethinking the UX of the file upload altogether. Currently it is quite clunky to the users, especially when there are errors on the form and they need to re-upload the file.

    I think better way would be to upload the file dynamically on that page and map the uploaded file ID to the form so that the user does not have to re-upload it when errors occur.

    0 votes up 0 votes down
    1. Regarding this, I think implementations such as Dropzone would greatly improve the user experience:
      https://www.dropzonejs.com/

      0 votes up 0 votes down
  2. There is also an accessibility problem with the default HTML file upload buttons: their language is defined by the browser.

    Now if the user has their browser language set to English and they are browsing the Decidim site in Finnish language, they will see the file upload buttons in English. Their language should be the same as the rest of the Decidim's UI.

    Customizing the file upload buttons would solve this problem.

    0 votes up 0 votes down

Sign in with your Atmosphere account to comment.