Skip to content

[EuiFlyout] Body content becomes inaccessible at short viewports (400% zoom / WCAG 1.4.10) #9881

Closed

Description

@alisonelizabeth

Summary

When an EuiFlyout has a non-trivial header (e.g. title + tabs) and footer, the body can collapse to effectively 0 height on short viewports. At 400% browser zoom this makes body content (tables, links, form controls) invisible/unreachable, which fails WCAG 2.2 SC 1.4.10 Reflow.

This looks like something EuiFlyout should handle by default so consumers do not need product-specific layout overrides.

Steps to reproduce

  1. Render an EuiFlyout with:
    • EuiFlyoutHeader containing a title and EuiTabs
    • EuiFlyoutBody with enough content to need scrolling (table, links, etc.)
    • EuiFlyoutFooter with actions + helper text
  2. Set browser zoom to 400% (or otherwise constrain viewport height to ~320–360 CSS px)
  3. Observe the flyout

Actual

  • Body content is clipped / not reachable
  • Scrolling the body does not help because the body region has little or no height
  • In some flex configurations the header can also get compressed

Expected

  • All flyout content remains visible or reachable via scrolling
  • Header (including tabs) and footer remain usable
  • Meets WCAG 1.4.10 for a 320 CSS px high viewport

Impact

  • Accessibility: WCAG AA 1.4.10 Reflow
  • Severity: High for any flyout with header tabs + footer on constrained viewports / high zoom
  • Scope: Likely any EUI consumer using header + body + footer chrome on short viewports

Environment

  • Browser: Chrome (also relevant for any browser at 400% zoom)
  • Viewport example: 2560×1440 at 400% zoom ≈ 640×360 CSS px

Activity

  1. vianmangal commented on Aug 23, 2026

    @vianmangal
    Contributor

    I’m working on a focused fix for this. I’ll add browser coverage for a short viewport with a non-trivial header/footer and verify that the flyout body remains visible and scrollable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions