Skip to main content
  1. Docs
  2. Components
  3. Layout

Scroll area

A scrolling region with Qeetrix scrollbars; it takes keyboard focus when its content overflows.

Import
@qeetrix/react
Status
StableSince 0.0.2
Renders
<div role="region">Server-rendered
Tested
WCAG 2.2 AAaxe on every pull request

01

Keyboard

KeysWhat happens
TabTabTo the region, when its content overflows.
↑↓←→Scroll it, while it has focus.

02

Behaviour

Region
Named, the viewport is a region landmark.
Focus
It takes focus only when there's something to scroll.
Scrollbars
They show on keyboard focus, not only on hover.

03

Tested

On every change, before it ships.

  • axe, WCAG 2.2 A and AA, in Chromium on every pull request
  • Firefox and WebKit every night
  • Right to left: logical properties, start and end
  • Every window size class: 600, 840, 1200 and 1600px
Next — Scroll areaChangelog