Skip to content
mentoor

Topic 5 of 5 · 4 min read

Testing copy inside the real interface

Goal: Check AI-written strings against character limits, truncation, translation growth and screen-reader reading before they ship.

AI writes copy as plain text, so you must test it inside the real interface for length, truncation, translation and reading order. A model cannot see your button, your screen width or your screen reader.

Check yourself · 1 of 3

A model says its button label is "under 20 characters". What is the safest next step?

Choose one answer

Why it matters

A string that looks perfect in a chat window can fail in the product. The button is 120 pixels wide and the label is cut to "Download your invoi...". The German version is much longer than the English and wraps onto three lines. A screen reader reads the error before the field it belongs to. None of these show up in the model's output, so none of them get fixed unless someone looks.

What to check

  1. Character limits. Know the space: button, tab, push notification, app-store title. Give the model the limit and ask for variants under it, then count the characters yourself. Models miscount, so do not trust "this is under 30 characters".
  2. Truncation. Look at the string on the smallest screen and at the largest text size the system allows. Put the important words first so a cut-off still makes sense: "Invoice 2041 overdue", not "There is an overdue invoice: 2041".
  3. Translation growth. Many languages need more room than English, and some need less. The W3C notes that text length changes when translated, so leave space and avoid fixed-width boxes. Do not build sentences from pieces ("You have " + count + " items"), because word order differs between languages. Use whole strings with placeholders.
  4. Screen-reader order. Read the screen in the order a screen reader would, top to bottom in the code. An error message should be tied to its field. Icon-only buttons need a text name such as "Close". Link text such as "Read more" is useless when read alone; use "Read more about pricing".
  5. Real data. Test with a long name, a short name, a number with many digits and an empty value.

Before and after

Chat output: "Download your latest invoice now" on a 140-pixel button. On a phone with large text it shows "Download your lat...".

Fixed: "Download invoice". The key words come first, it is shorter, and it holds up when translated.

What goes wrong

  • Trusting the model's count. A string said to be "under 25 characters" is 31.
  • Concatenated strings. They work in English and break grammar in other languages.
  • Testing only the happy width. The design looks right on the designer's wide screen only.
  • Ignoring the screen reader. The copy is clear to look at and confusing to hear.

Examples

A string check table

String Limit Result Fix
Download your latest invoice now 20 32 characters, cut off Download invoice
Read more link alone Unclear when read alone Read more about pricing
"You have " + n + " items" any Breaks in other languages You have {n} items as one string

Prompt with the limit

"Write 5 labels for this button, each at most 20 characters including spaces. Put the verb first. I will count them myself."

Key points

  • A model writes plain text and cannot see your button width, screen size or screen reader.
  • Count characters yourself, because models often miscount against a limit.
  • Put the important words first so a truncated string still makes sense.
  • Translated text changes length, so leave room and use whole strings with placeholders, not joined fragments.
  • Check reading order and link or button names with a screen reader, and test with long, short and empty real data.

Common mistakes

  • Accepting the model's claim that a string fits without counting.
  • Building sentences from pieces that cannot be reordered when translated.
  • Checking copy only at the designer's screen size and default text size.
  • Using Click here or Read more as link text with no context.

Check yourself · 2 of 3

Why is building a message from "You have " + count + " new messages" a problem for translation?

Choose one answer

Check yourself · 3 of 3

A page has three links that all read "Read more". What is the problem for a screen-reader user?

Choose one answer

Practice items, not counted towards your mastery.

Start here

More for this topic

Where to go in your country