Search code examples
cssxhtmlaccessibilityw3cwcag

What is the limit of character to use in alt="text" according to WCAG 2.0?


What is the limit of character to use in alt="text" according to WCAG 2.0?


Solution

  • there is no limit explicitly set, but conventionally they are limited to 1024 chars. I believe that I have heard that the search engines will go no further than about 200 characters. What is the use case? There is a longdesc attribute that may be of interest...

    http://www.w3.org/TR/REC-html40/struct/objects.html#adef-longdesc-IMG