Reading Quadrature input Encoder;Synchrous Logic

So, if I get this straight, "B" only determines the direction? If the state of "B" changes, then there is no advance of the encoder?

Only a state change of "A" means that the encoder is advancing?

So if A goes from 0 -> 1 (And "B" is constant"), then the encoder click amount (this is a variable being stored in memory) will go from say 2 ->3 assuming forward direction.

But if "B" goes from 0-->1 (And "A" is constant), then the encoder click amount should not advance, i.e. if it was 2 then is will stay at 2.

Thanks