outpostHQ/numl

Pressed or not pressed?

Closed this issue · 0 comments

Currently we use :pressed state to identify state of the button (with role checkbox), tab or checkbox when it's actually checked.
We use :active state to identify state when mouse is down on the element.

These names are based on ARIA and CSS specification, but probably we can use more sane syntax:

:pressure - mouse is down on the element. (another possible names: pressed, press, push)
:checked - if element is in checked/selected/pressed state (according to ARIA spec).

Any thoughts?