The ornament takes up the complete note, and its first note is A as you said. You don't play the written B "before" playing the ornament. See the start of the second row in Bach's well-known "table of ornaments" below:
In baroque and early classical music, many ornaments don't begin with the written note. In Bach's table, the only one which does start with the written note is the "mordant".