Jump to content

Help:Keyboard Shortcuts: Difference between revisions

From pool
Content deleted Content added
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 225: Line 225:
|-
|-
! scope="row" style="width: 2em;" | e
! scope="row" style="width: 2em;" | e
| Edit this page / view source (if you are [[WP:BLOCK|blocked]] or the page is protected from editing)
| Edit this page / view source (if you are blocked or the page is protected from editing)
| Current page tools
| Current page tools
|-
|-
! scope="row" | v
! scope="row" | v
| Edit with [[w:VisualEditor|VisualEditor]] (if available, namespace must be: [[WP:Article|(Main)]], [[WP:File|File]], [[WP:User|User]], [[WP:Category|Category]] or [[WP:Help|Help]])
| Edit with VisualEditor (if available, namespace must be: (Main), File, User, Category or Help)
| Current page tools
| Current page tools
|-
|-
! scope="row" | g
! scope="row" | g
| Open associated [[wikidata:|Wikidata]] item
| Open associated Wikidata item
| Current page tools
| Current page tools
|-
|-
! scope="row" | h
! scope="row" | h
| [[Help:View history|View history]]
| View history
| Current page tools
| Current page tools
|-
|-
! scope="row" | j
! scope="row" | j
| [[Special:Whatlinkshere|What links here]]
| What links here
| Current page tools
| Current page tools
|-
|-
Line 312: Line 312:
| Admin only
| Admin only
|}
|}

== Accessibility of access keys ==
{{update section}}<!--see https://www.mediawiki.org/w/index.php?title=Topic:Uuzp0ij8mnzoq1t2&topic_showPostId=x475fxqhgee13yqa&fromnotif=1#flow-post-x475fxqhgee13yqa-->
{{Wikipedia:WikiProject Accessibility/Navigation menu|impaired}}
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 in [[WCAG]] 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.{{update-inline}}

But presence of access keys is also an [[Authoring 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 in [[phab: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 ([http://www.w3.org/TR/2008/NOTE-WCAG20-TECHS-20081211/G90 G90], [http://www.w3.org/TR/WCAG-TECHS/F42.html F42], [http://www.w3.org/TR/WCAG-TECHS/SCR35.html SCR35], [http://www.w3.org/TR/2008/NOTE-WCAG20-TECHS-20081211/F58 F58], [http://www.w3.org/TR/2008/NOTE-WCAG20-TECHS-20081211/F61 F61]).

==Known issues: Gadgets which block keyboard shortcuts==
* Gadget [[User:Cacycle/wikEd|wikEd]] blocks keyboard shortcuts on Google Chrome and Firefox.

== Disabling access keys ==
A [[MediaWiki:Gadget-removeAccessKeys.js|gadget]] exists that may be enabled to remove access key functionality. This may be opted in to using [[Special:Preferences#mw-prefsection-gadgets|Special:Preferences]]

Revision as of 12:00, 19 April 2023

The MediaWiki software contains many keyboard shortcuts. You can use them to access certain features of Wikipedia more quickly.

Using access keys

An access 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 two "modifier" 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:

Browser Operating system Instructions
Google Chrome & Chromium
Opera 15+
Windows hold Alt
hold Alt+⇧ Shift+access key
hold Alt+Control+⇧ Shift+access key[1]
Chrome OS
Linux hold Alt+⇧ Shift+access key
hold Alt+access key
macOS hold Control+⌥ Option+access key
Firefox Windows, Linux hold Alt+⇧ Shift+access key
macOS hold Control+⌥ Option+access key
Internet Explorer
MS Edge
Windows hold Alt+access key [2]
Safari macOS hold Control+⌥ Option+access key
Windows hold Alt+access key
Older browsers
  • Mozilla Firefox 1.5 on Windows: hold Alt, press access key
  • Mozilla Firefox before version 14 on Mac OS X: hold Control, press access key
  • Safari 3 or earlier on Mac OS X: hold Control, press access key
  • Camino (Mac OS X): hold Control, press access key
  • Opera 12 and lower: press and release ⇧ Shift+Esc, then press access key

List of access keys

Sortable list

Currently, in the a–z range, only a and o[3] remain unassigned. p, v, w are assigned to multiple functions, depending on the context.

Key Function Context
f Move cursor to search box Site navigation
q Special pages Site navigation
r Recent changes Site navigation
u Upload file (only available to logged-in users) Site navigation
x Random article Site navigation
z Main Page Site navigation
. My user page Personal tools
l My watchlist (only available to logged-in users) Personal tools
n My talk Personal tools
o Log in (only available when logged-out) Personal tools
y My contributions Personal tools
e Edit this page / view source (if you are blocked or the page is protected from editing) Current page tools
v Edit with VisualEditor (if available, namespace must be: (Main), File, User, Category or Help) Current page tools
g Open associated Wikidata item Current page tools
h View history Current page tools
j What links here Current page tools
k Related changes Current page tools
m Move page (only available to logged-in users) Current page tools
p Printable version Current page tools
w Watch / unwatch page (only available to logged-in users) Current page tools
t Switch to talk page Current page tools
* Purge the page's cache (only available to logged-in users with the "Purge option" gadget) Current page tools
+ Start a new discussion Talk pages
c Switch to content page Talk pages
, Move cursor to edit box Editing page
b Move cursor to edit summary Editing page
i Flag edit as minor (only available to logged-in users, not IP users) Editing page
p Show preview Editing page
v Show changes Editing page
s Publish page Editing page
w Toggle “Watch this page” Editing page
d Delete / undelete current page Admin only
= Protect / unprotect current page Admin only
  1. For some keys (e.g., r), both Alt and Alt+⇧ Shift work; For other keys (e.g. f), only Alt+⇧ Shift works; For other keys (e.g. .), only Alt works.
  2. in some versions you may then need to press ↵ Enter
  3. o is technically assigned, but only for logged-out users.