Skip to content

List view: the 'sticky' information is only visual #59409

@afercia

Description

@afercia

Description

In the List view, some icons may be shown to provide information about some block properties, for example:

  • when the block is locked.
  • when the block is sticky

Screenshot:

Screenshot 2024-02-26 at 14 34 26

While for the 'locked' state a text (locked) is appended to the block item aria-label, there's no textual information for the 'sticky' case.

As such, there's no parity between the visual information provided to sighted users and the textual information provided to users with no vision or low vision or users who don't recognize icons meaning.

Ideally, this kind of important information should be provided by the means of visible text.

At the very least, the 'sticky' state should be communicated by the means of some visually hidden text or description

Step-by-step reproduction instructions

  • Go to teh post editor.
  • Add a group block with a paragraph.
  • First, make the group block sticky.
  • Then, make the group block locked.
  • Open the list view.
  • Observe the group block item has two icons: sticky and lock.
  • Inspect the source.
  • Oserve the aria-label of the group block is: Group (locked).
  • Onserv there's no textual information of any type about the sticky state.

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs Design FeedbackNeeds general design feedback.[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).[Package] Block editor/packages/block-editor[Type] BugAn existing feature does not function as intended

    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