Threadly - form lables?


#1


This is likely a bit outside of the scope of this project's focus.

It's noticed that this project's form does not utilize the label tag. Given that the label tag was utilized in an earlier project, binding it to the input tag, (1) why is it not used here?

(2) When should one include or exclude the label tag with a form's html?


Replace this line with your code.


#2

Hi @jnl2,

  1. Because Codecademy chose not to include it in the design.
  2. You should absolutely never exclude it. <label>s help accessibility and usability, you should always use them on forms. Codecademy, unfortunately, isn't very good about following best practices.

#3

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.