Commit Graph

77 Commits

Author SHA1 Message Date
eden-jh
6eb2df0da1 Core: Unnecessary aria-describedby (#2410)
* Core: progress on removing aria-describedby from valid fields

* core: aria-describedby

* Core: remove aria-describedby when hiding error

* Core: fix syntax issues, Test: add test for new setting

* Core: Fix bugs in aria-describedby behavior and related tests

* Core: bugfix for labels without id

* Core: don't create a new error element if one exists

* Core: progress on test for group of fields with ariaDescribedbyCleanup

* Core: Groups aria-describedby

* Core: fix aria-describedby not being removed from grouped fields

Ensure that aria-describedby is removed from all members of a group when 
all the known errors are resolved

* Core: Update capitalization

* Demo: Add page for ariaDescribedByCleanup

* Core: add setting to remove aria-describedby from valid fields

Includes additional unit tests and a demo page

* Core: Fix camel case inconsistency, remove stray comment

* Update demo/css/cmxform.css

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Kieran <kieran.brahney@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-03 11:46:18 +01:00
Jonathan
d46e86c143 Demo: fix minlength validation in ajaxSubmit-integration-demo.html (#2454) 2022-11-11 10:40:48 +00:00
George Henne
349fc57055 Demo: Add sample code for Bootstrap 4 usage (#2173) 2018-06-20 15:46:55 +01:00
Brahim Arkni
49c5687ef9 Demo: Use https 2017-04-12 16:43:59 +01:00
Stéphane S
a464d86b94 Core: Support jquery3. Closes #1866 2016-12-01 15:58:52 +01:00
Brahim Arkni
b8c9735114 Demo: add links to Bootstrap and Semantic-UI demos to index.html
Closes #1820.
2016-07-22 16:21:14 +02:00
Brahim Arkni
daf21a11e0 Demo: use .on() instead of .validateDelegate()
`validateDelegate()` has been removed in `v1.14.0` and replaced with
`.on(...)` which is only available in `jQuery 1.7+`
2016-07-22 16:20:45 +02:00
Markus Staab
26951909a3 Merge pull request #1593 from Arkni/semanticui-demo
Demos: Added a new demo using Semantic UI
2015-10-09 16:56:51 +02:00
Brahim Arkni
2e52ea45d1 Demos: Added a new demo using Semantic UI 2015-09-27 14:34:32 +01:00
Brahim Arkni
38eed4832f Demos: Added a new demo using Bootstrap 2015-09-27 14:29:44 +01:00
Jörn Zaefferer
ef52a44a0d Demos: Add new demo, contributed by Marcus Kästner
Combines a custom method, jQuery UI UI theme and custom error
positioning in one demo for booking retro cinema tickets.

Also cleans up the demo index a bit.
2015-07-09 23:34:10 +02:00
Jörn Zaefferer
2839a92a41 Demos: Remove the dead link to psyrens.com 2014-12-16 13:34:28 +01:00
Jörn Zaefferer
a97c71dca5 Demos: Fix bad default message in signup form 2014-12-16 13:32:30 +01:00
Markus Staab
0ff3b3c503 Demo: Added a tinymce4 demo
Closes #1340
2014-12-02 16:27:10 +01:00
Jörn Zaefferer
3634bcc7af Demos: Fix XSS issue in CAPTCHA demo 2014-11-19 13:31:22 +01:00
Jörn Zaefferer
1436337fd6 Demos: Fix markup in captcha and marketo demo
Ref #1159
Ref #1185
2014-07-01 20:07:53 +02:00
Lars Laade
4c8c397773 All: Remove closing slash on empty elements 2014-06-24 09:01:42 +02:00
paladox2015
a8679848dc All: Update copies of externals and versions of CDN references
Updates jQuery Mobile demo to use 1.4, updates Multipart demo to use
latest jQuery UI, updates requirejs demo to use latest requirejs and jQuery,
updates copy of QUnit to latest.

Closes #1164
Closes #1166
Closes #1168
Closes #1169
Closes #1170
2014-06-17 16:45:19 +02:00
Nick Schonning
bfc2f43703 All: Update URLs to jqueryvalidation.org
Fixes #1123
Closes #1134
2014-05-30 11:36:10 +02:00
Lars Laade
db55d36de5 ALL: Add plugin UMD wrapper, Closes #977 2014-05-21 13:31:48 +02:00
Damian Mooyman
e5e70b1632 Core: Use aria-describedby for non-label elements
Fixes #900
Closes #1083
2014-05-21 11:39:51 +02:00
Damian Mooyman
8c6c9c1251 Demos: Fix captcha and marketo demo
Closes #1103
2014-05-06 10:51:58 +02:00
Jörn Zaefferer
33cdbe03f6 Demos: Fix includes in themerollered demo 2014-05-06 10:36:01 +02:00
Nick Schonning
f5a7ce5f98 All: Format HTML as per jQuery style guide
Fixes #1101
Closes #1104
2014-05-06 10:35:41 +02:00
Jörn Zaefferer
a0ed6f8111 Core: Fix normalization for rangelength attribute value
This regressed at some point, probably when rules-as-data-attributes where
introduced, since those are automatically parsed as JSON. For the unprocessed
attributes, the array brackets have to be removed.

Also fixes the milk demo, which specified rangelength as the message, instead of
minlength, which it actually uses.

Fixes #1087
2014-04-29 20:41:18 +02:00
Jörn Zaefferer
070edc7be4 Demo: Use correct option in multipart demo.
Fixes #1025
2014-03-04 15:39:45 +01:00
Jörn Zaefferer
2afa4b75be Demos: Fix usage of $.format. Follow-up to bf3b350 2014-01-14 17:03:58 +01:00
Dave Marr
2c48e2801b Fix path to dist folder in multipart demo
Closes gh-866
2013-08-22 20:44:22 -04:00
Peter Conerly
f3f344f39c Fixed bug in RTM demo page. Closes gh-833 2013-08-15 13:52:07 +02:00
Nick Schonning
d33806b88c Fix demo paths to use dist files
The demo host will now need to include these files. If the gh-pages
branch is used, the a git add -f may be required
2013-06-24 14:23:11 +02:00
Jörn Zaefferer
00be77ff20 Demo CSS for new site 2013-05-23 16:41:16 +02:00
Jörn Zaefferer
31f509bdfe Demos: Cleanup markup 2013-05-23 16:41:07 +02:00
Jörn Zaefferer
c7c621790a Update demos: Basic cleanup, no more metadata. Fixes #708 2013-05-12 16:44:33 +02:00
Jörn Zaefferer
1122c04baf Fix multipart demo 2013-04-28 23:02:32 +02:00
Jörn Zaefferer
8250adb140 Replace most usage of PHP with mockjax handlers. Do some demo cleanup as well, update to newer masked-input plugin. Keep captcha demo in PHP. Fixes #662 2013-03-20 15:40:10 +01:00
Jörn Zaefferer
ff5e4f626d Remove inline code highlighting from milk demo. View source works fine. 2013-03-20 15:09:29 +01:00
Jörn Zaefferer
c73d5d7342 Fix dynamic-totals demo by trimming whitespace from template content before passing to jQuery constructor 2013-03-20 13:28:09 +01:00
jzaefferer
4a51e71c6f Fix typos 2013-03-07 13:55:35 +01:00
Jörn Zaefferer
e3106d3892 Use 1.9.0 in demo/index, replace old jQuery version with 'version switcher' 2013-01-30 23:19:47 +01:00
Max Lynch
6df33a8ccc Remove support for metadata plugin, replace with data-rule- and data-msg- (added in 907467e8) properties. 2012-11-23 14:39:37 +01:00
Jörn Zaefferer
7061614b3c Fix RTM demo to show invalid icon when going from valid back to invalid 2012-10-14 09:32:58 -04:00
Jörn Zaefferer
1bdaca0171 Test against latest stable jQuery Core version 2012-08-09 16:46:50 +03:00
Max Lynch
80d07b5f92 Added jQuery Mobile demo. Fixes #249 2012-05-03 12:08:53 +02:00
Jörn Zaefferer
e0ac44449c Delete duplicate and outdated demo 2012-05-02 19:21:18 +02:00
Jörn Zaefferer
f037939682 Add link to file_input to demo index 2012-04-28 16:31:24 +02:00
Max Lynch
b475b483f5 Moved old accept method to extension additional-method, added new accept method to handle standard browser mimetype filtering. Fixes #287 and supersedes #369 2012-04-22 23:37:01 -05:00
Max Lynch
ea25fe11e5 Fixed TinyMCE Demo and added link on demo page. Fixes #382 2012-04-20 14:51:53 +02:00
Max Lynch
02b10a6568 Fixed delegate bug for dynamic-totals demo. Fixes #51 2012-04-18 00:11:53 +02:00
Max Lynch
3da0e8e02e Updated demo HTML files to use HTML5 doctype 2012-04-03 12:00:29 +02:00
Jörn Zaefferer
9feeed5c8f Add release task to grunt.js, using custom zip task. Currently breaks due to a bug in zipstream (#5). 2012-02-29 14:14:08 +01:00