Skip to content

List View: Multi-select follow ups (de-selecting blocks, accessibility wording) #39671

@andrewserong

Description

@andrewserong

Following on from #39272 where multi-select support was added to the List View for shift + Home and End keys, this issue tracks a few items of feedback that didn't make it in the scope of that PR, but would be good to follow-up on and implement.

Issues to follow up on

  • Allow blocks to be de-selected via keyboard. Currently you can hold the shift key down to select blocks with the up and down arrows and the home and end keys, however it's impossible to deselect all blocks via the keyboard. Is there a keyboard shortcut or other mechanism we can add to make it easy to deselect all the blocks?
  • While we're at it, should we add in CMD / CTRL + A to select all blocks?
  • Having the word "link" as part of the label is probably bad practice long term. Can we add description text instead?
Press Enter to jump to block.

We don't want to confuse users by making them think these items are links, we just need to communicate to users that you can select it to jump to a block.

  • Possible to evaluate markup and see if there are any redundant attributes that can be removed?
  • The label text for the highlighted block is confusing when announced via a screen reader. We can update the description in getBlockPositionDescription. Due to using a tree grid, the announcement includes both the block description and the row column of the grid, which can be confusing. For example the following is announced when focusing on a selected paragraph block:
Paragraph  selected  Block 1 of 9, Level 1  row 1  column 1

Before we open up PRs to explore these issues, it would be good to get some feedback from folks on the desired wording and behaviour.

Thanks @alexstine for the suggestions!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs Accessibility FeedbackNeed input from accessibilityNeeds DevReady for, and needs developer efforts[Feature] Block Multi SelectionThe ability to select and manipulate multiple blocks[Feature] List ViewMenu item in the top toolbar to select blocks from a list of links.[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions