WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Appropriate to use textarea to display text?

for

From: Randy Pearson
Date: Apr 30, 2005 3:00PM


Accessibility notwithstanding, I don't think it's even valid markup to use a
TEXTAREA outside of a FORM.

That aside, your concern seems appropriate. Most likely the TEXTAREA was
used for no other purpose than to create a scrolling effect, so that lengthy
text would not push the "I Agree" links off the page. But that effect can be
achieved by placing the content in a DIV element and using CSS to size the
DIV and use "overflow: scroll;" to (nearly) duplicate the textarea
look/feel.

-- Randy


>>