Skip to content
Jan Miksovsky edited this page May 21, 2015 · 3 revisions

Checklist » [DOM Presence](Home#DOM Presence)

✓ Local Effects

Does the component limit its effects to itself (or a designated target element)?

[This article is a stub, and is not yet complete.]

Unless the explicit purpose of the component is to provide global effects — e.g., global keyboard handling — the component should avoid intentionally changing anything outside itself and its own children.

Keyboard locality

By default, does the component only respond to keys when it has the keyboard focus?

Unless a component’s main purpose is to add global keyboard shortcuts, by default, a component shouldn’t automatically handle keys pressed while other elements have focus.

Clone this wiki locally