Skip to content

Provide sr alerts for file upload. Fixes #1136. - #1163

Merged
zerocrates merged 1 commit into
masterfrom
a11y/file-upload-sr-alerts
Oct 16, 2026
Merged

zerocrates merged 1 commit into
masterfrom
a11y/file-upload-sr-alerts

Conversation

@kimisgold

Copy link
Copy Markdown
Member

This provides screen reader alerts for when the user adds another file upload input on the item metadata form.

@kimisgold
kimisgold requested a review from zerocrates October 13, 2026 14:03
@zerocrates

Copy link
Copy Markdown
Member

What's the deal with having two live regions here? It's so you can always be adding text to one of them?

Just having one region and blanking it every time before re-adding the text, that doesn't work?

@kimisgold

Copy link
Copy Markdown
Member Author

Blanking it every time before re-adding does not work consistently. I think it happens too fast, and VoiceOver struggles with it especially, which lines up with its pattern of weird announcement queuing. Alternating between the two live regions is the most consistent approach I've found thus far.

@zerocrates

Copy link
Copy Markdown
Member

wellll... fine then.

@zerocrates
zerocrates merged commit c0c3745 into master Oct 16, 2026
10 checks passed
@zerocrates
zerocrates deleted the a11y/file-upload-sr-alerts branch October 16, 2026 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants