Comment 2 for bug 1370571

Revision history for this message
Matthew Paul Thomas (mpt) wrote :

Right now, the read-only field (a) changes appearance when focused, (b) to white, (c) is debossed, and (d) has a blinking insertion point. Combined with the fact that its label isn't greyed out, those four clues strongly indicate that I can type into it. The only thing that prevented me from thinking that the OSK not appearing here was a bug was the fact that that I happened to design this screen myself.

That's why I didn't say a read-only text field should always look focused; that wouldn't solve the problem at all. I said it should look exactly the same when it isn't focused as when it is.

In most toolkits, read-only text fields (a) aren't even focusable, (b) or if they are, they don't change color, (c) they have flatter edges than read-write fields, and (d) they don't have an insertion point (except for accessibility purposes when you can't select text with a pointing device). You can see how your browser renders the difference, for example, by copying and pasting the following line into the address field:
data:text/html,<input><input disabled>

(Unfortunately data: URIs don't work with the Ubuntu Browser; I've just reported that as bug 1377953.)