Remove e.g. in documentation guidelines

pull/12525/head
Sage Abdullah 2024-11-05 12:45:26 +00:00
rodzic 17ce66ad45
commit a81cc7345d
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: EB1A33CC51CC0217
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -638,7 +638,7 @@ These are not hard rules but rather considerations to make when writing example
### Reference example filename
At the start of a code snippet, it can be helpful to reference an example filename at the top. E.g. `# wagtail_hooks.py` or `// js/my-custom.js`.
At the start of a code snippet, it can be helpful to reference an example filename at the top. For example: `# wagtail_hooks.py` or `// js/my-custom.js`.
### CSP (Content Security Policy) compliance
@ -648,7 +648,7 @@ Avoid `mark_safe` where possible, and use `format_html` and use examples that lo
### Accessibility compliance
Make sure that all examples are accessible and adhere to accessibility standards (e.g., WCAG).
Make sure that all examples are accessible and adhere to accessibility standards (for example: WCAG, ATAG).
For interactive components, ensure proper keyboard navigation and screen reader support. When creating dynamic content or effects (such as animations or notifications), provide options for users to pause, stop, or adjust these features as needed.