Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-1052

XHTML Compliance Issues - Non-framework Changes

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: None
    • Fix Version/s: 1.5
    • Component/s: None
    • Labels:
      None

      Description

      These are issues which cause errors in XHTML validator and do not require packages for framework changes:

      1. Modify all event handler calls (e.g. onClick, onChange, onFocus, onBlur) to all lower case... (e.g. onclick, etc.)

      2. When div's and/or fieldsets are created for Custom Field Groups, use custom_group.name instead of custom_group.title for the id= attribute (when using title, we can wind up with spaces and other 'illegal characters' in the id attribute value - e.g. id="Voter Info").

      3. Square brackets are not legal characters for id attributes and for href tag name= attributes. Try replacing with character entities ??

      Use FireFox WebDeveloper extension - Validate Local HTML - to check your pages after fixing.

        Attachments

          Activity

            People

            • Assignee:
              rupam Rupam Jaiswal
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: