Most product teams sketch AI citations as tidy little blue numbers sitting neatly beside generated text. They wire them up once on a fast connection, watch the preview pop open in half a second, and move on. That works in the staging environment. It rarely survives contact with the open internet.

Sources rot. Companies delete blog posts. Government portals reorganize their URLs without redirects. Paywalls go up. CDNs hiccup. The document an AI scanned three months ago might have been rewritten yesterday. If your citation component only knows how to look good when everything goes right, it will lie to your users when things go wrong. Worse, it will leave them confused about whether the evidence ever existed at all.

A reliable citation system needs to communicate state. Not just a hyperlink. Not just a tooltip. It needs to tell the reader what is happening with the evidence in real time.

Design for four real states

Think of a citation as a small status machine. Every source your AI surfaces can land in one of four conditions, and your interface should handle each one honestly.

Loading. The user clicks the superscript number, and the system fetches a preview, a snippet, or the original page. During that gap, show them something is happening. A skeleton placeholder, a pulsing excerpt frame, or even plain text reading "Fetching source..." beats silence. Silence makes people wonder if the click worked. In a streaming interface where sources arrive as the model thinks, loading states also buy you time to resolve links without blocking the text generation.

Available. This is the state everyone designs for. The link resolves, the text still matches what the model saw, and the user gets a clear excerpt plus a direct link. But do not stop at dumping a raw URL. Show the title, the domain, and the relevant passage. Give the reader enough context to decide if they want to leave the page. A raw href in parentheses is technically a citation. It is not a good user experience.

Changed. This one stings. The page loads, but the content no longer contains the quote or statistic the AI attributed to it. Maybe the publisher updated the article. Maybe the AI training snapshot caught a headline that later changed. Your component should flag this discrepancy instead of pretending everything lines up. A small note like "This source has been updated since it was indexed" prevents the user from wasting ten minutes hunting for a sentence that no longer exists. It also preserves trust. If you hide the mismatch, the user will eventually assume your product makes things up.

Missing. The 404. The timeout. The paywall. The server that sends back a 200 status code but serves a generic "Content Removed" page. Do not let the link hang there in blue, pretending it works. Replace it with plain language: "Page removed," "Link no longer available," or "Source offline." If you know why it failed, say so. If the Internet Archive or a cached copy exists, offer it. The goal is to close the loop, not strand the reader.

Accessibility is non-negotiable

Citation components sit in high-traffic, high-stakes parts of the UI. They deserve the same rigor as a checkout form or a flight booking flow.

Use text to show status. Colorblind users cannot rely on a green dot or a red border alone. Pair your indicators with words: "Available," "Modified," "Unavailable." That tiny label helps every sighted user too, because status colors rarely mean the same thing across cultures or products.

Write descriptive names for screen readers. Label your links so a person using a screen reader hears something useful. Instead of a generic "Link," read out "Source 3: Audit-log retention policy." This tells the listener exactly what they will get before they decide to open it.

Protect the flow. Clicking a citation should not vaporize the AI-generated answer. Use a panel, a modal, or an inline expansion. The reader opened the source to verify a specific claim. If your interface wipes away the claim they were just reading, you have forced them to hold the text in working memory while they hunt for proof. That is unnecessary cognitive load.

Manage focus deliberately. When a user opens a citation, move keyboard focus into the new panel or popup. When they close it, send focus back to the trigger. Do not hijack focus while the stream is still writing sources to the page. Let the user stay in control.

Zarządzaj strumieniowaniem z rozwagą. Jeśli Twój interfejs generatywny dodaje cytowania w miarę ich napływania, nie zasypuj użytkowników czytników ekranu powiadomieniami o każdym nowym indeksie górnym. Grupuj je. Gdy nagromadzą się dwa lub trzy, ogłoś uprzejme podsumowanie, np. „Dodano dwa źródła”. Ciągłe przerwania sprawiają, że wynik staje się nieczytelny dla użytkowników technologii wspomagających.

Pamiętaj, co dowodzi cytowanie

Tego punktu nie da się powtarzać wystarczająco często. Cytowanie wskazuje pochodzenie. Nie wskazuje prawdy.

Kiedy AI cytuje źródło, mówi: „Znalazłem to sformułowanie tutaj”. Nie mówi: „Ten ekspert ma rację”. Nie mówi: „To badanie zostało przeprowadzone rzetelnie”. Nie mówi nawet: „Poprawnie zrozumiałem kontekst”. Cytowanie to mapa prowadząca do pierwotnego dowodu. Czytelnik wciąż musi przejść tę drogę i zdecydować, czy dowód jest wiarygodny.

Twój projekt powinien wyraźnie uwypuklać to rozróżnienie. Używaj fragmentów, które pozwalają użytkownikowi szybko przejrzeć odpowiednie linie. Pokazuj datę publikacji, aby czytelnik wiedział, jak aktualne są dowody. Jeśli źródłem jest forum, komunikat prasowy lub badanie pierwotne, wyeksponuj ten kontekst, aby czytelnik mógł go odpowiednio ocenić. Buduj interfejs tak, aby wspierał ludzki osąd, a nie go zastępował.

Testuj w zderzeniu z rzeczywistością

Komponent cytowania, który przechodzi pozytywnie przegląd wizualny, jest zrobiony tylko w połowie. Potrzebujesz