dont send message if >1000 graphemes (#3995)

This commit is contained in:
Samuel Newman
2024-05-13 22:36:56 +01:00
committed by GitHub
parent 27bb73c701
commit 5d92ac2ce3
3 changed files with 19 additions and 4 deletions
+2
View File
@@ -36,6 +36,8 @@ export const MAX_DESCRIPTION = 256
export const MAX_GRAPHEME_LENGTH = 300
export const MAX_DM_GRAPHEME_LENGTH = 1000
// Recommended is 100 per: https://www.w3.org/WAI/GL/WCAG20/tests/test3.html
// but increasing limit per user feedback
export const MAX_ALT_TEXT = 1000