Fossil User Forum

Feature request: accesskeys
Login

Feature request: accesskeys

Feature request: accesskeys

(1) By anonymous on 2020-03-15 19:49:24 [source]

I think that you should add access keys: "p" for "preview", and "s" for "submit".

(2) By Richard Hipp (drh) on 2020-03-15 20:17:01 in reply to 1 [link] [source]

I don't know how to do that. Can you offer some code hints?

(3) By anonymous on 2020-03-15 20:31:22 in reply to 2 [link] [source]

<input type="submit" name="preview" value="Preview" accesskey="p">
<input type="submit" name="submit" value="Submit" accesskey="s">

The forum.c file has each of those two things twice; just add the "accesskey" attribute. (How to use them depends on the web browser; for example, on my computer, it is ALT+SHIFT+letter specified for the "accesskey" attribute; on some browsers it is just ALT+letter.)