Skip to content

Image block: further usability and accessibility improvements for the Lightbox #55513

@afercia

Description

@afercia

Description

Follow up to #55428

The Image block lightbox has room for further fixes and improvements. See comment #55428 (comment)

  • Absence of any visual hint that an image can be enlarged. In a page with many images, where only a few of them open in a Lightbox, users won't have any way to understand the difference unless they hover or focus an image. Not sure this is an ideal design and UX in the first place.
  • The image element is clickable and it opens the dialog. This is a not expected interaction and should be reconsidered. Windows screen readers will announce the image as 'clickable'.
  • The trigger button should enforce a minimum size of 24 by 24 pixels.
  • The Lightbox does not have feature parity with the Navigation, where users can change the appearance of the buttons.
  • The modal dialog actually contains two overlid images: they are bot perceivable and will be both announced by assistive technology.
  • The icon buttons don't visually expose their accessible name.

Any further usability and accessibility concerns that may arise with more extensive testing should be reported o this ticket.

Step-by-step reproduction instructions

Please see testing instructions and discussions on
#55428
#55414
#55212
#55097

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

Labels

[Block] ImageAffects the Image Block[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).[Status] In ProgressTracking issues with work in progress[Type] RegressionRelated to a regression in the latest release

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