Re: <Form><input type="file" value !="browse" />?

On Tue, 11 Mar 2003, Jonathan Chetwynd wrote:

> Could someone advise me is it possible to change the default value for
> a button of input type="file" in a <form>

If the implementation of file input involves a button, then the text in
the button is up to the user agent.

> the default seems to be " browse" and that is not appropriate.

The text in the button tends to vary according to the language of the user
agent, i.e. the language used in its user interface like menus, help
texts, and error messages.

> it may be my code but i have tried value="find" without success

Why do you think "find" would be an improvement?

When I use, say, Opera (Finnish version), a file input element appears as
as a box for a filename together with a button with the text "Valitse" on
it. It may look odd on a page in English, for example, but that's what I'm
accustomed to as a user of that browser. If you managed to change it to
"find", it would look like a submit button to me.

The important thing is the recognizability of a browse button as a browse
button. When you first encounter one, you are probably puzzled. Later, you
will remember what you learned, and expect a button with some specific
text act as a way of browsing your computer's file system.

File input elements - or, rather, their poor implementation in browsers -
involves serious accessibility problems. Some of them are discussed at my
http://www.cs.tut.fi/~jkorpela/forms/file.html#acc

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/

Received on Tuesday, 11 March 2003 17:55:03 UTC