hmrc / design-patterns

Documenting HMRC design patterns
http://hmrc.github.io/assets-frontend/
MIT License
31 stars 4 forks source link

File upload #171

Open klaudiarybicka opened 2 years ago

klaudiarybicka commented 2 years ago

File upload

Overview

We are working on a new file upload pattern for the HMRC Design Resources. Our services require some upload features not included in the GDS file upload component. Our goal is to improve the consistency and usability of our solutions.

Some considerations

Existing components or patterns

GOV Design System

https://design-system.service.gov.uk/components/file-upload/

Ministry of Justice

https://design-patterns.service.justice.gov.uk/patterns/upload-files/

Examples of services using file upload

Relevant discussions

File upload on GitHub

https://github.com/alphagov/govuk-design-system-backlog/issues/49

Upload files on GitHub

https://github.com/hmrc/design-patterns/issues/68

GOV.UK blog post

https://designnotes.blog.gov.uk/2017/02/14/some-design-tips-for-uploading-things/

MOJ multi-file upload on GitHub

https://github.com/ministryofjustice/moj-design-system-backlog/issues/1

NHS file upload on GitHub

https://github.com/nhsuk/nhsuk-service-manual-community-backlog/issues/93

Existing research

richardhattonUX commented 4 weeks ago

Has there been any accessibility testing on this pattern?

I can see in one example it uses aria-live="polite". I wonder how well each stage of the upload process is announced by screen readers when multiple states are happening at once.