Help:Keyboard-shortcats

From www.PSALTIKI.info
Jump to: navigation, search

Template:Pp-protected Template:Dablink Template:For Template:Locutions pages header Template:Shortcut 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. In Wikipedia, Access Keys allow you to do a lot more - protect a page, show page history, save 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
Opera 15+
Windows
Chrome OS
hold Template:Keypress or Template:Keypress+Template:Keypress or Template:Keypress+Template:Keypress+Template:Keypress,Template:Refn press access key
Linux hold Template:Keypress+Template:Keypress, press access key
macOS hold Template:Keypress+Template:Keypress, press access key
Firefox Windows, Linux hold Template:Keypress+Template:Keypress, press access key
macOS hold Template:Keypress+Template:Keypress, press access key
Internet Explorer
Edge
Windows hold Template:Keypress, press access key (in some versions you may then need to press Template:Keypress)
Safari macOS hold Template:Keypress+Template:Keypress, press access key
Windows hold Template:Keypress, press access key
Opera –12 All press and release Template:Keypress+Template:Keypress, then press access key

Template:Collapse

List of access keys

Template:Col-begin Template:Col-break

Site navigation
f Move cursor to search box
q Special pages
r Recent changes
u Upload file
x Random article
z Main Page
Personal tools
. My user page
l My watchlist
n My talk
y My contributions

Template:Col-break

Current page tools
e Edit this page / view source
v Edit with VisualEditor (if available)
g Open associated Wikidata item
h View history
j What links here
k Related changes
m Move page
p Printable version
w Watch / unwatch page
t Switch to talk page
Talk pages
+ Start a new discussion
c Switch to content page

Template:Col-break

Editing page
, Move cursor to edit box
b Move cursor to edit summary
i Toggle minor edit
p Show preview
v Show changes
s Save page
w Toggle “Watch this page”
Admin only
d Delete / undelete current page
= Protect / unprotect current page

Template:Col-end

Display access keys

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

File:Access keys shortcut display with box.png
Adding this code displays the access keys with boxes around them on every Wikipedia page, as displayed in the picture. The skin used is Vector, but this will work for any skin.
a[accesskey]:before {
    content: " " attr(accesskey) " ";
    text-transform: uppercase;
    white-space: pre;
    border: thin solid;
    font-family: sans-serif;
    text-decoration: underline overline;
    margin-right: 0.5ex;
}
File:Access keys shortcut display with no box.png
Similarly, this is identical to the above except the boxes around the access keys are removed.
a[accesskey]:before {
    content: " " attr(accesskey) " ";
    text-transform: uppercase;
    white-space: pre;
    font-family: sans-serif;
    margin-right: 0.5ex;
}

This does not work in Internet Explorer versions lower than 8.0, since they don't support the CSS selector.

Accessibility of access keys

{{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.

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 bugzilla:477.

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

See also