WordPress.org

Make WordPress Core

Opened 16 months ago

Closed 8 months ago

Last modified 8 months 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)

comment:1 SergeyBiryukov16 months ago

  • Milestone changed from Awaiting Review to WordPress.org

comment:2 Daedalon10 months 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)".

comment:3 samuelsidler8 months ago

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

Migrated, but modified into #meta149.

comment:4 SergeyBiryukov8 months ago

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