Convey successful outcome of add-section operation via assitive tech

Created on 5 March 2019, almost 6 years ago
Updated 31 May 2023, over 1 year ago

Problem/Motivation

When adding a section, and the tasks in the off-canvas dialogs are completed, the new section (and regions, and add-block buttons) are added to the layout builder content. This is apparent to sighted users, but the successful outcome may not be obvious to screen reader users.

Proposed resolution

Convey the outcome to assistive tech users.
Use a client-side Drupal.announce() or the server-side AJAX AnnounceCommand as appropriate.

Suggested message: "Added new section with 3 column layout". Aim for a short message; it doesn't have to convey minor details like the column widths.

Maybe include the position of the new section? Not sure how to phrase that.

Remaining tasks

Patch

User interface changes

No visual changes.
Feedback message for assitive tech users.

API changes

None

Data model changes

None

πŸ› Bug report
Status

Active

Version

11.0 πŸ”₯

Component
Layout builderΒ  β†’

Last updated 1 day ago

Created by

πŸ‡¬πŸ‡§United Kingdom andrewmacpherson

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.

  • Blocks-Layouts

    Blocks and Layouts Initiative. See the #2811175 Add layouts to Drupal issue.

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