Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick H. Lauke <redux@splintered.co.uk>2022-07-04 03:39:14 +0300
committerGeoSot <geo.sotis@gmail.com>2022-10-08 00:06:56 +0300
commit27e5375912b84ea9ccc18e902a0cdd2d73d5b702 (patch)
treefb9a3ede1538d9923937c52e8cc9e6341ff65827
parentaa6a1ece56c1e9109980934da12ac696ae7dba36 (diff)
Update documentation text
* 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`
-rw-r--r--site/content/docs/5.2/forms/validation.md6
1 files changed, 1 insertions, 5 deletions
diff --git a/site/content/docs/5.2/forms/validation.md b/site/content/docs/5.2/forms/validation.md
index aa789676ec..9e8674d593 100644
--- a/site/content/docs/5.2/forms/validation.md
+++ b/site/content/docs/5.2/forms/validation.md
@@ -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.