Skip to content

send accessibility announcement events as confirmation for some state changes - #1380

Merged
QuantumBadger merged 6 commits into
QuantumBadger:masterfrom
codeofdusk:a11y-announcements
Sep 13, 2026
Merged

QuantumBadger merged 6 commits into
QuantumBadger:masterfrom
codeofdusk:a11y-announcements

Conversation

@codeofdusk

Copy link
Copy Markdown
Contributor

This PR adds accessibility announcement events for:

  • Expanding comments;
  • Collapsing comments;
  • Upvoting, downvoting, and unvoting on posts and comments.

The announceForAccessibility method was deprecated in Baklava, but the suggested replacements on that page don't really work for us and other projects are dealing with this as well. There's no timeline for removal, so I think this is fine to use for the foreseeable future.

Closes #986.

@QuantumBadger
QuantumBadger merged commit d02c891 into QuantumBadger:master Sep 13, 2026
1 check passed
QuantumBadger added a commit that referenced this pull request Sep 13, 2026
@QuantumBadger

Copy link
Copy Markdown
Owner

Thanks for this! I've tested it and it works, so happy to merge in. I've also added individual comments to the announcement strings, in the hope that the 30-char limit will be shown in the Weblate UI. Thanks again!

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.

Accessibility: send accessibility announcement events as confirmation for some actions

2 participants