aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs/5.0/forms/validation.md
AgeCommit message (Collapse)AuthorFilesLines
2021-08-04Prepare v5.1.0. (#34674)v5.1.0XhmikosR1-382/+0
2021-02-10Add Sass docs (variables, mixins, and loops) to most pages (#32747)Mark Otto1-5/+21
* WIP: Mention variables, mixins, and loops in docs * Add Sass sections to component pages * add sass docs for forms and content * Update buttons.md * Remove empty mixins sections * Massive update to utilities and some consistency changes Co-authored-by: XhmikosR <[email protected]>
2020-12-17Extended form validation states customization capabilities (#31757)Dmytro Yaremenko1-1/+3
Co-authored-by: XhmikosR <[email protected]>
2020-11-18docs: Add missing `.has-validation` class for input group example (#32162)Kyle Tsang1-1/+1
Co-authored-by: Martijn Cuppens <[email protected]> Co-authored-by: XhmikosR <[email protected]>
2020-10-30Fix redirects (#32015)XhmikosR1-1/+1
2020-10-28Drop custom file upload plugin in favor of CSSMartijn Cuppens1-7/+2
2020-10-26Require `.has-validation` class to fix border radii on form elementsMartijn Cuppens1-2/+4
2020-10-13Revert "Improve callout shortcode. (#31802)" (#31871)XhmikosR1-2/+2
This reverts commit 5c6925385ee926a749ead6a4f2ebbfc64e701f36.
2020-10-12Improve callout shortcode. (#31802)XhmikosR1-2/+2
Remove the `markdownify` call, and instead rely on Hugo's proper syntax; `{{% callout %}}` when we want to the content to be processed as Markdown. This allows for stuff like: {{% callout info %}} ##### I'm an info callout! ```css .foo { color: #fff; } ``` {{< example >}} <div class="alert alert-warning alert-dismissible fade show" role="alert"> <strong>Holy guacamole!</strong> You should check in on some of those fields below. <button type="button" class="btn-close" data-dismiss="alert" aria-label="Close"></button> </div> {{< /example >}} {{% /callout %}}
2020-09-30validation.md: fix _validation.scss file reference (#31795)Mopsan1-1/+1
2020-07-11Docs: forms accessibility cleanup (#31114)Patrick H. Lauke1-11/+13
* Expand on disabled fieldsets and faked buttons include further advice/information on how to disable faked buttons for keyboard/AT users * Centralise accessible name advice in forms overview seems odd to only mention (separately) label, aria-label etc in input-group and layout. the advice is just as pertinent in other sections like select. checks only skims over this. moving this, in expanded form, into the overview section itself. adding a specific cross-reference (just because they are easily left with no accname at all) in the checks page. * Change warning about accessibility, modify server-side example - paradoxically, due to our current problems with validation (see #28414) and the fact that browsers seem to have improved in this area for the most part, it's now actually better to use browser-native validation - added explicit `id` and `aria-describedby` association to at least the server-side form error messages, to show how it should be done properly, and expanded the prose for that explaining this. * Replace `.sr-only` with `.visually-hidden` in new addition * Copy edits for clarity in parenthetical * Copy and formatting tweaks - Wordsmithing here and there - Turns some hyphens into em dashes - Turns a long running comma separated list into an unordered list - Rearranges some copy just a bit Co-authored-by: Mark Otto <[email protected]>
2020-06-03Read validate-forms.js from assets.XhmikosR1-20/+6
2020-06-03Fix forms validation snippets.XhmikosR1-2/+2
2020-05-13Bump version to 5.0.0-alpha1 (#29925)XhmikosR1-0/+379
Also add v4.5.0 in versions and keep README.md pointing to v4.5.0 so that there are no broken stuff.