Testing image link alt text
-

-
While alt text is more important than title text for screen readers, many browsers will display the title text more readily. For example, when I long-press on your image, it doesn’t show “Alt Text Here” but if I long press on this one, it will show “Title Text Here”:

-
While alt text is more important than title text for screen readers, many browsers will display the title text more readily. For example, when I long-press on your image, it doesn’t show “Alt Text Here” but if I long press on this one, it will show “Title Text Here”:

Shucks, I was specifically trying to see if text within the square brackets does anything at all :c
thanks for the tip
-
Shucks, I was specifically trying to see if text within the square brackets does anything at all :c
thanks for the tip
It does! The alt and title fields are separate, and if you look at the generated HTML, you can see that the text from the brackets is used as the alt text.
When I remember to set them (I try to, since it’s the nice thing to do for accessibility purposes), I usually set them the same, because even though many people don’t use screen readers, the alt text is what they’ll have read out, while the title text becomes more of an easter egg for other folks.
Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.
Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.
Con il tuo contributo, questo post potrebbe essere ancora migliore 💗
Registrati Accedi
Citiverse è un progetto che si basa su NodeBB ed è federato! | Categorie federate | Chat | 📱 Installa web app o APK | 🧡 Donazioni | Privacy Policy