Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Help:Keyboard shortcuts

Page semi-protected
From Wikipedia, the free encyclopedia
Keyboard shortcuts that work on all Wikimedia projects

"WP:KS" redirects here. The term may also refer toWikipedia:WikiProject Kansas.
Shortcuts

TheMediaWiki software contains manykeyboard shortcuts. You can use them to access certain features of Wikipedia more quickly.

Using access keys

Anaccess key allows a computer user to immediately jump to a specific part of a web page via the keyboard. On Wikipedia, access keys allow you to do a lot more—protect a page, show page history, publish your changes, show preview text, and so on. See the next section for the full list.

Most web browsers require holding down one or twomodifier keys to use an access key. Different web browsers invoke access keys in different ways. Please use the list below to determine the appropriate key combination for your browser and system:

BrowserOperating systemInstructions
Google Chrome &Chromium
Opera 15+
MS Edge
WindowsholdAlt+access key
holdAlt+⇧ Shift+access key
holdAlt+Control+⇧ Shift+access key[1]
Chrome OS
LinuxholdAlt+⇧ Shift+access key
holdAlt+access key
macOSholdControl+⌥ Option+access key
FirefoxWindows, LinuxholdAlt+⇧ Shift+access key[2]
macOSholdControl+⌥ Option+access key
Internet Explorer
MS Edge Legacy
WindowsholdAlt+access key[3]
SafarimacOSholdControl+⌥ Option+access key
Older browsers
  • Mozilla Firefox 1.5 on Windows: holdAlt, press access key
  • Mozilla Firefox before version 14 onMac OS X: holdControl, press access key
  • Safari 3 or earlier on Mac OS X: holdControl, press access key
  • Safari on Windows: holdAlt+access key
  • Camino (Mac OS X): holdControl, press access key
  • Opera 12 and lower: press and release⇧ Shift+Esc, then press access key

List of access keys

Site navigation
fMove cursor to search box
qSpecial pages
rRecent changes
uUpload file (only available to logged-in users)
xRandom article
zMain Page
Personal tools
.My user page
lMy watchlist (only available to logged-in users)
nMy talk
oLog in (only available when logged-out)
yMy contributions
Current page tools
eEdit this page, or view source if you areblocked or the page is protected from editing
vEdit withVisualEditor (if available, namespace must be:(Main),File,User,Category, orHelp)
gOpen associatedWikidata item
hView history
jWhat links here
kRelated changes
mMove page (only available to logged-in users)
pPrintable version
wWatch / unwatch page (only available to logged-in users)
tSwitch to talk page
*Purge the page's cache (only available to logged-in users with the "Purge option" gadget)
Talk pages
+Start a new discussion
cSwitch to content page
While editing a page
,Move cursor to edit box
bMove cursor to edit summary
iFlag edit as minor (only available to logged-in users)
pShow preview
vShow changes
sPublish page
wToggle "Watch this page"
For Administrators
dDelete / undelete current page
=Protect / unprotect current page

Sortable list

Currently, in the a–z range, onlya is unassigned.p,v,w are assigned to multiple functions, depending on the context.

KeyFunctionContext
fMove cursor to search boxSite navigation
qSpecial pagesSite navigation
rRecent changesSite navigation
uUpload file (only available to logged-in users)Site navigation
xRandom articleSite navigation
zMain PageSite navigation
.My user pagePersonal tools
lMy watchlist (only available to logged-in users)Personal tools
nMy talkPersonal tools
oLog in (only available when logged-out)Personal tools
yMy contributionsPersonal tools
eEdit this page / view source (if you areblocked or the page is protected from editing)Current page tools
vEdit withVisualEditor (if available, namespace must be:(Main),File,User,Category orHelp)Current page tools
gOpen associatedWikidata itemCurrent page tools
hView historyCurrent page tools
jWhat links hereCurrent page tools
kRelated changesCurrent page tools
mMove page (only available to logged-in users)Current page tools
pPrintable versionCurrent page tools
wWatch / unwatch page (only available to logged-in users)Current page tools
tSwitch to talk pageCurrent page tools
*Purge the page's cache (only available to logged-in users with the "Purge option" gadget)Current page tools
+Start a new discussionTalk pages
cSwitch to content pageTalk pages
,Move cursor to edit boxEditing page
bMove cursor to edit summaryEditing page
iFlag edit as minor (only available to logged-in users, not IP users)Editing page
pShow previewEditing page
vShow changesEditing page
sPublish pageEditing page
wToggle "Watch this page"Editing page
dDelete / undelete current pageAdmin only
=Protect / unprotect current pageAdmin only

Display access keys

See also:User:Zhaofeng Li/accesskey

By modifyingyour user CSS file, access key shortcuts can be displayed before internal links on any Wikipedia page.

CSS with shortcuts shown on hover
Play the video to see how this CSS snippet works. The skin used here is Vector, but this will work for any skin.
a:hover[accesskey]:before{content:" "attr(accesskey)" ";text-transform:uppercase;white-space:pre;font-family:sans-serif;margin-right:0.5ex;color:var(--color-base,black);}
CSS with shortcuts shown always
Adding this code displays the access keys on every Wikipedia page, as shown in this picture.
a[accesskey]:before{content:" "attr(accesskey)" ";text-transform:uppercase;white-space:pre;font-family:sans-serif;margin-right:0.5ex;color:var(--color-base,black);}
CSS with shortcuts shown always with a box
This is identical to the above code except the access keys are displayed with boxes around them.
a[accesskey]:before{content:" "attr(accesskey)" ";text-transform:uppercase;white-space:pre;border:thinsolid;font-family:sans-serif;text-decoration:underlineoverline;margin-right:0.5ex;color:var(--color-base,black);}

This will not display the accesskeys provided by the VisualEditor (or themw:2017 wikitext editor), such as 's' to publish the page, as those accesskeys are implemented differently.

Accessibility of access keys

Parts of this help page (those related to this section) need to beupdated. Please help update this help page to reflect recent events or newly available information. Relevant discussion may be found on the talk page.
WikiProject Accessibility

Keyboard shortcuts, in the way they are implemented on Wikipedia, are useful for some users with disabilities and do not require JavaScript to work. At the same time, they are bothersome for some screen reader users because it interferes with the shortcuts of their screen reader. The best solution would be to have customizable keyboard shortcuts.

The accessibility of keyboard shortcuts (access keys) is a complicated matter. This feature, in its current implementation, was temporarily abandoned inWCAG 2.0, notably because it conflicts with the shortcuts of assistive technologies. Usage of access keys is currently discouraged in the online contents and applications.[needs update]

But presence of access keys is also anAuthoring Tool Accessibility Guidelines (ATAG) requirement—the ATAG approach is particularly relevant in Wikipedia's case—where this matter is looked into thoroughly. In particular, ATAG requires the possibility to customize shortcuts. This should be requested inphab:T2477.

Currently, their presence in Wikipedia's interface can be problematic for some users and can be useful for others. But more importantly, it misleads developers into thinking that the interface is keyboard accessible. Requirements that need to be fulfilled for a website to be keyboard accessible are not related to keyboard shortcuts (G90,F42,SCR35,F58,F61).

Known issues: Gadgets which block keyboard shortcuts

  • GadgetwikEd blocks keyboard shortcuts on Google Chrome and Firefox.

User scripts that modify keyboard shortcuts

Someuser scripts allow you to add more keyboard shortcuts for various actions or customize existing ones:

Disabling access keys

Agadget exists that may be enabled to remove access key functionality. This may be opted in to usingSpecial:Preferences

See also

Notes

  1. ^For some keys (e.g.,r), bothAlt andAlt+⇧ Shift work; For other keys (e.g.f), onlyAlt+⇧ Shift works; For other keys (e.g..), onlyAlt works.
  2. ^The Alt key without Shift can be used if a Firefox preference in "about:config" is changed: set "ui.key.generalAccessKey" to 18 (seeMozillaZine Knowledge Base).
  3. ^In some versions you may then need to press↵ Enter
  4. ^Copy the following code,edit your user JavaScript, then paste:
    {{subst:lusc|1= User:Enterprisey/up-one-lvl-kbd.js}}
  5. ^Copy the following code,edit your user JavaScript, then paste:
    {{subst:lusc|1= User:Enterprisey/hover-edit-section.js}}
  6. ^Copy the following code,edit your user JavaScript, then paste:
    {{subst:lusc|1= User:Enterprisey/page-info-kbd-shortcut.js}}
  7. ^Copy the following code,edit your user JavaScript, then paste:
    {{subst:lusc|1= User:Enterprisey/superjump.js}}
  8. ^Copy the following code,edit your user JavaScript, then paste:
    {{subst:lusc|1= User:Guarapiranga/accessKeysCheatSheet.js}}
  9. ^Copy the following code,edit your user JavaScript, then paste:
    {{subst:lusc|1= User:Tollens/safemodeShortcut.js}}

External links

General
technical help
Special
page
-related
Wikitext
Links anddiffs
Media files: images,
videos and sounds
Other graphics
Templates and
Lua modules
Data structure
HTML andCSS
Customisation
and tools
Automated editing
Retrieved from "https://en.wikipedia.org/w/index.php?title=Help:Keyboard_shortcuts&oldid=1306278952"
Categories:
Hidden category:

[8]ページ先頭

©2009-2025 Movatter.jp