#23072 closed defect (bug) (duplicate)
Forums should use title to show a hint about accesskeys for <strong>, <em> etc.
Reported by: | Daedalon | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | WordPress.org Site | Keywords: | |
Focuses: | Cc: |
Description
WordPress.org forums should use the HTML title="" attribute to give users a hint that there are keyboard shortcuts that will help their writing process. That hint would be displayed when users hover their mouse over the <strong>, <em> and other buttons.
Current HTML for the <strong> button:
<input id="ed_strong" class="ed_button" type="button" value="b" onclick="edInsertTag(edCanvas, 0);" accesskey="b">
A more user-friendly alternative:
<input id="ed_strong" class="ed_button" type="button" value="b" onclick="edInsertTag(edCanvas, 0);" accesskey="b" title="Hint: Press Alt-Shift-B (and the other variants, Cmd-Shift-B on Macs and what are they)">
Change History (4)
Note: See
TracTickets for help on using
tickets.
The value of the title-text can be set according to user's browser. Eg. Firefox on Windows users would get different instructions from Safari on Mac users.
The details of the implementation are easy to improve upon as soon as we have a first implementation. The first implementation could show the following text without any browser sniffing: "Hotkey: B (Try Alt-Shift-B on Windows or Cmd-Shift-B on a Mac)".