alphagov / govuk-design-system

One place for service teams to find styles, components and patterns for designing government services.
https://www.gov.uk/design-system
MIT License
512 stars 232 forks source link

Make enhancements to the File Upload and Details components and prepare to ship in v5.8 #4242

Open kellylee-gds opened 4 weeks ago

kellylee-gds commented 4 weeks ago

Brief

By the end of the brief, we should have:

We should also consider publicly documenting our decision making rationale regarding these changes on the community backlog or GitHub discussions.

Issues we are trying to solve

1. Dragon cannot easily activate the File upload button #4031 The 'Choose file' input does not respond to any verbal command. The user must then use verbal keyboard commands such as 'Tab' to use the component. Proposed solution is to layer a new UI onto the component which can be customised (eg as a button), and shows a visual drop zone if a file is dragged over it.

2. Dragon cannot easily operate the Details component #4029 Dragon does not identify Details component as something which can be interacted with. The user must then use verbal keyboard commands such as 'Tab' to expand the content. Proposed solution is to add aria-expanded, but there are drawbacks. We've approached DAC for their feedback on this proposed solution.

Epic lead

TBD

Driving role(s)

Anika, Patrick, Charlotte

Supporting roles

Romaric, Kelly

### Tasks
- [ ] Add a draft title or issue reference here