Convey outcome of remove-section operation via assistive tech

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

Problem/Motivation

When removing a section in layout builder, after confirming it in the off-canvas dialogs, the section and all of it's nested blocks are removed from 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 messages:
"Removed section 2 and 7 blocks".
"Removed 3-column section and seven blocks".

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