Ticket #5539 (closed Bug: fixed)

Opened 6 years ago

Last modified 3 years ago

Wrong usage of label tag

Reported by: nouri Owned by: limi
Priority: minor Milestone: 2.5.1
Component: Templates/CSS Keywords: newbie
Cc:

Description

From what I understand, the  label tag is supposed to either surround the control or provide a 'for' attribute.

This is not the case for labels defined here:

  • skins/plone_wysiwyg/wysiwyg_support.pt
  • skins/plone_forms/content_status_history.pt
  • skins/plone_forms/ownership_form.cpt
  • skins/plone_forms/synPropertiesForm.cpt
  • skins/plone_forms/search_form.pt
  • skins/plone_forms/folder_constraintypes_form.cpt
  • skins/plone_prefs/reconfig_form.cpt
  • skins/plone_prefs/reconfig_form.cpt

Change History

comment:1 Changed 6 years ago by pupq

  • Keywords newbie added
  • Milestone changed from 2.5.x to 2.5.1

comment:2 Changed 6 years ago by dannyb

  • Status changed from new to closed
  • Resolution set to fixed

I quote from w3c:

The LABEL element may be used to attach information to controls.

There was only one label where there should have been a for attribute. I added that (ownership_form.pt).

comment:3 Changed 6 years ago by dannyb

(In [10355]) Fixed #5539: Wrong usage of label tag. Added one for attribute that was missing.

comment:4 Changed 3 years ago by hannosch

  • Component changed from Visual and templates to Templates/CSS
Note: See TracTickets for help on using tickets.