Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #15080, comment 53


Ignore:
Timestamp:
03/13/2013 11:21:28 AM (12 years ago)
Author:
esmi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15080, comment 53

    initial v1  
    11  semantically, it's really bad practice
    2 No - it isn't. The spec actually says" The label element may contain at most one descendant input element". The keywords being "at least one". It is perfectly valid to have more than 1 label attached to a form control. The "Your email address..." line applies directly to the email input. The "your are logged in as" line should, logically, be associated to the Name input whilst the allowed tags content needs to be associated with the textarea.
     2No - it isn't. The spec actually says" The label element may contain at most one descendant input element". The keywords being "at least one". It is perfectly valid to have more than 1 label attached to a form control. The "Your email address..." line applies directly to the email input. The "You are logged in as" line should, logically, be associated to the Name input whilst the allowed tags content needs to be associated with the textarea.
    33
    44'''All''' text within form tags '''must''' be within labels - otherwise SR users will be forced to make 2 passes (one on forms mode, the other in virtual cursor/reading mode). That, of course, assumes that the users are even aware that there is plain text in the form. Most will have no idea that this additional, informational, content is present as most SRs enter forms mode automatically on hitting the form tag or the first form control.