Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 9 years ago

#4181 closed defect (bug) (no action required)

Form submit input elements should not use names or ids that conflict with properties of a form, such as submit, length, or method

Reported by: chriskeeble's profile chriskeeble Owned by:
Milestone: Priority: normal
Severity: normal Version: 1.5.5
Component: Core Keywords:
Cc:

Description

Forms and their child elements should not use input names or ids that conflict with properties of a form, such as submit, length, or method.

Name conflicts can cause confusing failures. For a complete list of rules and to check your markup for these problems, see http://kangax.github.com/domlint/

(As per http://api.jquery.com/submit/)

This is making extending behaviour with JavaScript (and jQuery) difficult (impossible in some cases) without a lot of code edits in child themes and plugins.

Change History (2)

#1 @DJPaul
13 years ago

  • Milestone changed from Awaiting Review to Future Release

If you can provide a list of URLs that fail this tool, we can review those.

#2 @mercime
9 years ago

  • Keywords needs-patch removed
  • Milestone Future Release deleted
  • Resolution set to invalid
  • Status changed from new to closed

As of BP 2.5 to present, I don't recall encountering "input names or ids that conflict with properties of a form, such as submit, length, or method" during first pass at our forms to check for accessibility.

Will double-check in next round of a11y fixes in front- and back-end screens. Possibly already corrected between BP 1.5.5 and BP 2.5

Closing this as OP has not responded to @DJPaul's request for URLs.

Note: See TracTickets for help on using tickets.