WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#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)

#1 @SergeyBiryukov
9 years ago

  • Milestone changed from Awaiting Review to WordPress.org

#2 @Daedalon
8 years ago

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)".

#3 @samuelsidler
8 years ago

  • Milestone WordPress.org deleted
  • Status changed from new to closed

Migrated, but modified into #meta149.

#4 @SergeyBiryukov
8 years ago

  • Resolution set to duplicate
Note: See TracTickets for help on using tickets.