Mobile Safari Ignores textarea readonly Attribute
Tuesday, January 18, 2011 at 11:49AM
James Koch

I had trouble finding anyone else documenting this behavior, so here it is for anyone else wondering if they're doing something wrong (you're not).

Mobile Safari (iPhone, iPad, iPod Touch) will pop up a keyboard when you touch a readonly textarea field, but not when you touch a readonly input of type "text".  Seems like a pretty straightforward bug on the Apple side.

Test this on your iOS device of choice here, or on the W3C School's site:

Readonly Input:

Readonly TextArea:

Readonly & Disabled TextArea:

Article originally appeared on Will Code For Equity (http://willcodeforequity.com/).
See website for complete article licensing information.