RE: New Message: Floating Placement for Label Forms

what is the rationale for an animated label?

 

From: Education Dynamics <eddyuxcro@gmail.com> 
Sent: Thursday, February 23, 2023 2:16 AM
To: w3c-wai-ig@w3.org
Subject: 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 Friday, 24 February 2023 00:45:22 UTC