From: Patrick H. Lauke Date: Mon, 4 Jul 2022 00:39:14 +0000 (+0100) Subject: Update documentation text X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27e5375912b84ea9ccc18e902a0cdd2d73d5b702;p=thirdparty%2Fbootstrap.git 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` --- 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.