From 7458b6f600a3d25812a64d93096b2a94676a7bb6 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Tue, 30 May 2023 20:41:56 -0400 Subject: Move MAX_GRAPHEME_LENGTH to constants.ts (#735) --- src/lib/constants.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/constants.ts') diff --git a/src/lib/constants.ts b/src/lib/constants.ts index 41aab1431..ada7b2059 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -4,6 +4,8 @@ export const FEEDBACK_FORM_URL = export const MAX_DISPLAY_NAME = 64 export const MAX_DESCRIPTION = 256 +export const MAX_GRAPHEME_LENGTH = 300 + // 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 -- cgit 1.4.1