Return focus to point of action when the off-canvas dialog closes

Created on 12 December 2018, almost 6 years ago
Updated 31 May 2023, over 1 year ago

Problem/Motivation

When various actions happen in the layout builder focus is not returned to logical elements.

This means if you are using keyboard navigation and do an action you have to tab from top of the page each time.

Proposed resolution

Proposed focus elements

  1. Add new section -> First "Add block" link in the section
  2. Add new block -> Contextual links trigger for newly added block
  3. Configure block -> Contextual links trigger for the updated block
  4. Move block -> Contextual links trigger for the updated block (if added in #2995689: Allow reordering blocks without a pointer device β†’ )
  5. Configure section -> same configure section link

Remaining tasks

  1. Figure out logic focus elements
  2. Create patch
  3. Test

User interface changes

API changes

None

Data model changes

None

Release notes snippet

None

πŸ› Bug report
Status

Active

Version

11.0 πŸ”₯

Component
Layout builderΒ  β†’

Last updated about 13 hours ago

Created by

πŸ‡ΊπŸ‡ΈUnited States tedbow Ithaca, NY, USA

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.

  • Needs accessibility review

    Used to alert the accessibility topic maintainer(s) that an issue significantly affects (or has the potential to affect) the accessibility of Drupal, and their signoff is needed (see the governance policy draft for more information). Useful links: Drupal's accessibility standards, the Drupal Core accessibility gate.

  • 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