Lattice Grid Buy a licence

The grid (rendering) ยท console.warn

createMeter needs a `label` or an `ariaLabel...

Printed by The grid (rendering), prefixed [lattice], since 1.111.0.

Warnings reference › meter.label

Identifier
meter.label
Raised by
The grid (rendering)
Since
1.111.0

What happened

The meter has no accessible name, so a screen reader announces its value with nothing to say what is being measured.

The fix

Pass label (shown above the bar) or ariaLabel (announced only).

The smallest fix

createMeter({ container: el, ariaLabel: 'Capacity', value: 30 });

Reference

Covered in full at the API reference.