විකිපීඩියා:යතුරුපුවරු කෙටි මාර්ග

(විකිපීඩියා:Keyboard shortcuts වෙතින් යළි-යොමු කරන ලදි)

The Vector skin, which is the default on Wikipedia, contains many keyboard shortcuts. You can use them to access certain features of Wikipedia more quickly.

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

List of access keys සංස්කරණය

Depending on your browser, you should:

  • Mozilla Firefox 1.5: hold Alt, press access key
  • Mozilla Firefox 2 & 3 on Windows and Linux: hold Alt+⇧ Shift, press access key
  • Internet Explorer 6: hold Alt, press access key
  • Internet Explorer 7: hold Alt+⇧ Shift, press access key
  • Internet Explorer 8: hold Alt, press access key (to follow a link, then press ↵ Enter)
  • Opera (all platforms): press ⇧ Shift+Esc, then press access key (Shift-Esc will display the list of choices)
  • Google Chrome: hold Alt, press access key
  • Safari on Windows: hold Alt, press access key

See access keys for more information on this concept.

List of access keys available on Wikipedia
Access key Command Description
+ Start a new discussion Allows you to add a new section (talk pages only)
. (period) My user page Opens your user page (logged-in users only)
, (comma) Edit box Jumps to the edit box (on edit pages)
= Protect Allows you to protect the current page (admins only)
Unprotect Allows you to unprotect the current page (admins only)
c Content page Shows the content page associated with the current article
d Delete Allows you to delete the current page (admins only)
Undelete Allows you to undelete the current page (admins only)
e Edit this page Allows you to edit the current page (non-protected pages or admins)
View source Shows the source of the current page (protected pages)
f Search Allows you to search Wikipedia
h History Shows the current page's history
i Minor edit Toggles the "This is a minor edit" checkbox (on edit pages)
j What links here Shows all of the pages that link to the current one
k Related changes Shows recent changes in pages linked to the current one
l My watchlist Opens your watchlist (logged-in users only)
m Move Allows you to move the current page and its talk page (non-move-protected pages only)
n My talk Opens your talk page (logged-in users only)
p Show preview Shows a preview of your changes (on edit pages)
Printable version Opens a printable version of the current page (on pages other than edit pages)
q Special pages Shows a list of all special pages
r Recent changes Shows a list of recent changes to Wikipedia
s Save page Saves the changes that you have made (on edit pages)
t Discussion Opens the current article's talk page
u Upload file Allows you to upload images or media files
v Show changes Shows what changes you made to the text (on edit pages)
w Watch Adds the current page to your watchlist (logged-in users only)
Watch this page Toggles the "Watch this page" checkbox (on edit pages)
x Random article Loads a random article
y My contributions Opens your contributions page (logged-in users only)
z Main Page Goes to the Main Page

Accessibility review of these access keys (august 2010) සංස්කරණය

Keyboard shortcuts (access keys) are a complicated matter. This feature, in its current implementations 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 needs to be fulfilled in order to be keyboard accessible are not related to keyboard shortcuts (G90, F42, SCR35, F58, F61).

Visual display of access keys සංස්කරණය

The following entry in your user CSS file (e.g., User:Example/vector.css) will display access keys before links that have them.

This does not work in Internet Explorer, since it doesn't support the :before CSS selector.

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;
}

Changing and disabling access keys සංස්කරණය

See also the talk page behind the removeAccessKeys script. It will explain yet another way.

Some common problematic access keys include d, e, f, and o.

Mediawiki software affects the Wikipedia shortcut keys. To disable or modify "access keys", put the correct JavaScript statements near the bottom of the default system Vector.js, copied to your own sub-file.

You can easily customize by simply cutting and pasting code, and then making slight modifications to the pasted code to effect your customization, before testing and saving the page. Note that access keys are case-sensitive.

Look for something like:

ta['ca-nstab-main'] = new Array('7',"View the content page"); /*change*/
ta['ca-delete'] = new Array(,"Delete this page"); /*delete*/

in an up-to-date user's program statements.