A11y: Send the status message via drupal.announce

Created on 26 January 2022, over 3 years ago
Updated 24 January 2025, 8 months ago

Problem/Motivation

A screenreader user does not know what happens when the link/flag is clicked.

Steps to reproduce

Create a flag with ajax link and ask a screenreader user what the screenspeacker does after clicking the flag.

Proposed resolution

* Send the message via Drupal.announce. See https://www.drupal.org/docs/drupal-apis/javascript-api/accessibility-too... β†’

Found by https://www.drupal.org/u/westphaldenn β†’

πŸ› Bug report
Status

Needs review

Version

4.0

Component

Flag core

Created by

πŸ‡©πŸ‡ͺGermany tobiasb Berlin

Live updates comments and jobs are added and updated live.
  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024