Skip to content

Side panel: content exposed to screen readers when panel is collapsed #2340

Description

@cyberbaloo

Observed behavior

When the side panel is collapsed, its content remains accessible to assistive technologies. The panel container is not hidden from screen readers in this state.

Expected behavior

The side panel container must be hidden from assistive technologies via aria-hidden="true" when collapsed, and this attribute must be removed (or set to false) when the panel is opened.

Steps to reproduce

  1. Open a Docs document with the side panel visible
  2. Collapse the side panel
  3. Navigate with a screen reader
  4. Notice that the collapsed panel content is still announced

RGAA criteria

Critère 7.1 : Chaque script est-il, si nécessaire, compatible avec les technologies d'assistance ?

Impact

A blind user navigating with a screen reader reaches the side panel content while it is visually collapsed. They are exposed to unexpected content, with no way to understand that this content is not visible on screen.

Priority

P1

Image Image

Metadata

Metadata

Assignees

Type

No type

Projects

Status
Done
Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions