Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293926

When enabling or disabling a block, don't move the focus to the top of the page

$
0
0

A follow-up to #1848940: When enabling or disabling a View, don't move the cursor to the top of the page to address a similar issue in the Block UI.

Problem/Motivation

When a user enables, disables, or removes a block, a full page refresh happens. This causes the keyboard focus position to return to the start of the page. If a keyboard-only user wants to work on several blocks, there's a lot of work to keep tabbing through the form to the block you are interested in.

Proposed resolution

We can reduce the amount of effort needed from a keyboard-only user, by using AJAX to dynamically update the page whenever a block is enabled, disabled, or removed. ViewsListBuilder already does this, and it maintians the keyboard focus position.

Use AJAX for the block operations (enable, disable, remove).
Make it preserve keyboard focus position, like ViewsListBuilder.

Remaining tasks

TBD.

User interface changes

Make some features of the block UI (block operations like enable, disable, remove) behave without a page refresh, and preserving keyboard focus position. Intended to reduce effort needed by keyboard / screen-reader users.

API changes

TBD.

Data model changes

None expected.


Viewing all articles
Browse latest Browse all 293926

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>