Deciding whether to label the security code field Security code instead of CVV in checkout validation messages
تحديد ما إذا كان ينبغي تسمية حقل رمز الأمان «رمز الأمان» بدلًا من الاختصار سي في في في رسائل التحقق عند الدفع
The decision: plain wording over acronyms
Start with the label itself. The guidance for payment forms recommends self-explanatory wording, and gives the security code as the example: write Security code rather than CVV, an acronym only some card brands use. The decision for a merchant is to adopt that plain label everywhere the field appears, including the error message shown when the entry is incomplete. A shopper buying a ceramic mug who sees an error about CVV may not connect it to the security code digits on the card. A message that says the security code is missing or incomplete points to the same digits in familiar words. As a check you can try, read every validation message on your checkout aloud and ask whether a first-time customer would know which part of the card to look at.
What the field should accept
The second part of the decision is what the field accepts, because a validation message is only as good as the rule behind it. The same guidance notes that security codes can be three or four digits, and that validation rules should consider every format used by the card brands you support. A merchant selling a cotton tote bag might set a single fixed length and then reject a valid card without meaning to. The practical decision is to accept both lengths, allow only digits in the field, and keep the message specific about what went wrong. As a check you can try, place a test order with each card type your store accepts and confirm the field and its message behave the same way for each one.
Checking the message with keyboard and screen reader
Finally, decide how you will verify that the message reaches everyone. The guidance on payment forms suggests testing with real users, with the keyboard alone, and with a screen reader such as VoiceOver on Mac or NVDA on Windows, to confirm the input stays accessible. It also recommends marking every field as required so customers complete the form. For a merchant, the decision is to treat that testing as part of writing the message, not an afterthought. Picture a customer ordering a ceramic mug who tabs from the card number to the security code and hears the error read out. As a check you can try, walk through your own checkout using only the keyboard, then again with a screen reader, and note whether the message is announced and clearly tied to the field.
Sources
القرار: صياغة واضحة بدلًا من الاختصارات
ابدأ بالتسمية نفسها. توصي إرشادات نماذج الدفع بصياغة تفسر نفسها، وتضرب رمز الأمان مثالًا على ذلك: اكتب «رمز الأمان» بدلًا من الاختصار سي في في، وهو اختصار لا تستخدمه إلا بعض علامات البطاقات. والقرار الذي يتخذه التاجر هو اعتماد تلك التسمية الواضحة في كل مكان يظهر فيه الحقل، بما في ذلك رسالة الخطأ التي تظهر عندما يكون الإدخال غير مكتمل. وقد لا يربط المتسوق الذي يشتري كوبًا خزفيًا ويرى خطأً بشأن الاختصار سي في في بينه وبين أرقام رمز الأمان على البطاقة. والرسالة التي تقول إن رمز الأمان مفقود أو غير مكتمل تشير إلى الأرقام نفسها بكلمات مألوفة. وكفحص يمكنك تجربته، اقرأ كل رسالة تحقق في صفحة الدفع بصوت عالٍ واسأل هل سيعرف عميل لأول مرة أي جزء من البطاقة ينبغي أن ينظر إليه.
ما ينبغي أن يقبله الحقل
الجزء الثاني من القرار هو ما يقبله الحقل، لأن رسالة التحقق لا تكون أفضل من القاعدة التي تقف خلفها. وتشير الإرشادات نفسها إلى أن رموز الأمان قد تكون ثلاثة أو أربعة أرقام، وأن قواعد التحقق ينبغي أن تراعي كل صيغة تستخدمها علامات البطاقات التي تدعمها. قد يحدد تاجر يبيع حقيبة تسوق قطنية طولًا ثابتًا واحدًا ثم يرفض بطاقة صالحة من دون أن يقصد. القرار العملي هو قبول الطولين، والسماح بالأرقام فقط في الحقل، وإبقاء الرسالة محددة بشأن ما حدث من خطأ. وكفحص يمكنك تجربته، ضع طلبًا تجريبيًا بكل نوع بطاقة يقبله متجرك وتأكد من أن الحقل ورسالته يتصرفان بالطريقة نفسها مع كل نوع.
التحقق من الرسالة باستخدام لوحة المفاتيح وقارئ الشاشة
أخيرًا، قرّر كيف ستتحقق من أن الرسالة تصل إلى الجميع. يشير الدليل المتعلق بنماذج الدفع إلى اختبارها مع مستخدمين حقيقيين، وباستخدام لوحة المفاتيح وحدها، وباستخدام قارئ شاشة مثل VoiceOver على Mac أو NVDA على Windows، للتأكد من أن حقل الإدخال يظل متاحًا. كما يوصي بوضع علامة على كل حقل بأنه مطلوب كي يُكمل العملاء النموذج. وبالنسبة للتاجر، يتمثل القرار في التعامل مع ذلك الاختبار باعتباره جزءًا من صياغة الرسالة، لا أمرًا يُضاف لاحقًا. تخيّل عميلًا يطلب كوبًا خزفيًا ينتقل بالضغط على مفتاح التبويب من رقم البطاقة إلى رمز الأمان ويسمع رسالة الخطأ تُقرأ له. وكاختبار يمكنك تجربته، قم باجتياز عملية الدفع الخاصة بك باستخدام لوحة المفاتيح فقط، ثم مرة أخرى باستخدام قارئ شاشة، ولاحظ ما إذا كانت الرسالة تُنطق بوضوح وترتبط بوضوح بالحقل.
المصادر
Ready to Build Your Online Store?
Join thousands of businesses on BuiBuy. Create your store in minutes — no coding required.
Start for Free