What it does
Does a component read design tokens off the root element's computed style while a scope class that encloses it resolves those tokens differently, and hand the root's values to something that cannot see CSS, such as a canvas, a WebGL uniform or an iframe?
How it helps you
Components pick up the right theme colors inside any section of your site.
Tested against itself
16 deliberate breaks, all caught
We change this check on purpose and watch its test fail. Each dot is one of those changes.
Details
| Category | Design |
|---|---|
| Also filed under | Code quality |
| Checks in this category | 161 |
| ISO/IEC 25010 | Interaction capability: operability |
| Breaks caught | 16 |