Project

General

Profile

Feature #7063

Add "for" attribute to label tags - WAI/WCAG AA

Added by Yannick Warnier almost 6 years ago. Updated almost 6 years ago.

Status:
Feature implemented
Priority:
Normal
Category:
Global / Others / Misc
Target version:
Start date:
07/04/2014
Due date:
% Done:

100%

Estimated time:
Spent time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

Adding support for "for" elements in forms. By default, they will attach to the corresponding input tag.

See http://achecker.ca/checker/index.php validator

Associated revisions

Revision 0d7cf3b6 (diff)
Added by Yannick Warnier almost 6 years ago

Add support for "for" attributes in HTML forms - refs #7063

Revision ab0929c7 (diff)
Added by Yannick Warnier almost 6 years ago

Fix bug in added support for "for" attributes in HTML forms - refs #7063

Revision 63c9c87c
Added by Yannick Warnier almost 6 years ago

Merge pull request #253 from FraGoTe/1.9.x

Fix WAI/WCAG AA standards label/for/h* tags - refs #7063

Revision 850ed3fc (diff)
Added by Yannick Warnier almost 6 years ago

Add alt attribute in course icon - refs #7063

Revision 7bd056e9 (diff)
Added by Yannick Warnier almost 6 years ago

Add alt attribute in course icon - refs #7063

Revision 4b975dcd (diff)
Added by Yannick Warnier almost 6 years ago

Revert previous commit as images are decorative - refs #7063

History

#1

Updated by Yannick Warnier almost 6 years ago

  • Status changed from Assigned to Needs testing
  • % Done changed from 0 to 90
#2

Updated by Yannick Warnier almost 6 years ago

This is related to private task #7045 (SEPE)

#3

Updated by Yannick Warnier almost 6 years ago

  • Status changed from Needs testing to Assigned
  • Assignee changed from Yannick Warnier to Francis Gonzales
  • % Done changed from 90 to 50

I made a mistake. The "for" attribute must be relative to an ID.
The user login form is located in userportal.lib.php (look for "login").

#4

Updated by Francis Gonzales almost 6 years ago

  • Status changed from Assigned to Needs testing
  • Assignee changed from Francis Gonzales to Yannick Warnier
  • % Done changed from 50 to 90

Se realizó el cambio, agregando los for a los label además de hicieron modificaciones de estilos para pasar la validación.

Se envió el PR al repo de chamilo 1.9.x

#5

Updated by Yannick Warnier almost 6 years ago

  • Tracker changed from Support to Feature
  • Status changed from Needs testing to Feature implemented
  • Assignee changed from Yannick Warnier to Francis Gonzales
  • % Done changed from 90 to 100

I did some tests adding an "alt" for the course icons, but then it complains these look like decoration images and shouldn't have an "alt" attribute :-)

This URL should be tested as well (course homepage): https://stable.chamilo.org/courses/00AICC00/index.php
I just checked and it works as well. Closing.

Also available in: Atom PDF