Update guidance on alt text for images in rich text

This shortcoming was fixed and released in Wagtail 2.13
pull/7253/head
Thibaud Colas 2021-06-11 14:11:55 +01:00 zatwierdzone przez GitHub
rodzic c9a55d8b1b
commit 14b0e807d6
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -31,7 +31,7 @@ Ideally, always add an optional “alt text” field wherever an image is used,
- For normal fields, add an alt text field to your images panel.
- For StreamField, add an extra field to your image block.
- For rich text – Wagtail already makes it possible to customize alt text for rich text images. Unfortunately, its not currently possible to set alt text as an optional field in these situations (see `#6494 <https://github.com/wagtail/wagtail/issues/6494>`_).
- For rich text – Wagtail already makes it possible to customize alt text for rich text images.
When defining the alt text fields, make sure they are optional so editors can choose to not write any alt text for decorative images. Take the time to provide ``help_text`` with appropriate guidance.
For example, linking to `established resources on alt text <https://axesslab.com/alt-texts/>`_.