SocialText Standard ACCESSKEYs

One of several FeatureRequests.

  • 2006-10-02 Standard ACCESSKEYs for common functions (E)dit, (P)review, (S)ave, (C)ancel
    • 2006-10-02 originally requested in email to Peter Kaminski with subject "socialtext feature reqeust - standard mediawiki/pbwiki accesskeys"
    • 2007-04-16 re-requested in twitter
    • 2007-05-10 re-requested in irc.freenode.net #socialtext
    • Notes: these are already an emerging WikiStandard and have been supported in MediaWiki and PBWiki for quite some time.
    • Original Patch: It is quite easy to implement too in the HTML, e.g. for Edit This Page, simply change this code:
<a id="page-control-edit-link" onclick="try { show_edit_div() } catch(e) {}; return false;" class="workspace-bar-link" href="#">Edit This Page</a>
to this (note the accesskey="e" addition)
<a id="page-control-edit-link" onclick="try { show_edit_div() } catch(e) {}; return false;" class="workspace-bar-link" accesskey="e"  href="#">Edit This Page</a>

         <a
          id="st-edit-button-link"
          title="Click this button to edit the page"
          class="st-page-action-button-link"
          href="#"
         >Edit</a>
to this (note the accesskey="e" addition)
         <a
          id="st-edit-button-link"
          title="Click this button to edit the page"
          class="st-page-action-button-link"
          href="#"
          accesskey="e"
         >Edit</a>

These work easily in Firefox and Safari. Internet Explorer highlights anchors with accesskeys, but doesn't activate them. We may wish to consider making these buttons actually, oh, say, buttons. -- zac.bir

Return to the FrontPage.


Page Information

  • 1 year ago [history]
  • View page source
  • You're not logged in
  • No tags yet learn more

Wiki Information

Recent PBwiki Blog Posts