New Message: Floating Placement for Label Forms

Hello!

We want to get more clarification about the placement of the labels for
forms.



We know the recommendation for labels is that they should stay close to the
form field, either right or left. However, we were wondering if we will
have accessibility issues if the label is placed in the middle of the field
(like a placeholder), and once users click to type on the field, the label
moves up.



The code setup of the element will be as a label but with a float
animation. (see the example attached)



Please let us know what the answer to this question is.


Thank you!

Received on Thursday, 23 February 2023 19:49:30 UTC