]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update documentation text
authorPatrick H. Lauke <redux@splintered.co.uk>
Mon, 4 Jul 2022 00:39:14 +0000 (01:39 +0100)
committerGeoSot <geo.sotis@gmail.com>
Fri, 7 Oct 2022 21:06:56 +0000 (00:06 +0300)
* remove the warning about custom errors and tooltips not being accessible ... they now mostly are
* change the phrasing for server-side validation, so that *all* feedback (whether valid or invalid) should have `aria-describedby`

site/content/docs/5.2/forms/validation.md

index aa789676ec0eb789d0f9315cec872cd8696a8073..9e8674d5930987e46bb9575b38c938aa31158818 100644 (file)
@@ -6,10 +6,6 @@ group: forms
 toc: true
 ---
 
-{{< callout warning >}}
-We are aware that currently the client-side custom validation styles and tooltips are not accessible, since they are not exposed to assistive technologies. While we work on a solution, we'd recommend either using the server-side option or the default browser validation method.
-{{< /callout >}}
-
 ## How it works
 
 Here's how form validation works with Bootstrap:
@@ -139,7 +135,7 @@ While these feedback styles cannot be styled with CSS, you can still customize t
 
 We recommend using client-side validation, but in case you require server-side validation, you can indicate invalid and valid form fields with `.is-invalid` and `.is-valid`. Note that `.invalid-feedback` is also supported with these classes.
 
-For invalid fields, ensure that the invalid feedback/error message is associated with the relevant form field using `aria-describedby` (noting that this attribute allows more than one `id` to be referenced, in case the field already points to additional form text).
+Ensure that the feedback/error message is associated with the relevant form field using `aria-describedby` (noting that this attribute allows more than one `id` to be referenced, in case the field already points to additional form text).
 
 To fix [issues with border radius](https://github.com/twbs/bootstrap/issues/25110), input groups require an additional `.has-validation` class.