A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/accesskey below:

HTML accesskey global attribute - HTML

HTML accesskey global attribute

Baseline Widely available

The accesskey global attribute provides a hint for generating a keyboard shortcut for the current element. The attribute value must consist of a single printable character (which includes accented and other characters that can be generated by the keyboard).

Try it
<p>If you need to relax, press the <b>S</b>tress reliever!</p>
<button accesskey="s">Stress reliever</button>
b {
  text-decoration: underline;
}

The way to activate the accesskey depends on the browser and its platform:

Windows Linux Mac Firefox Alt + Shift + key Control + Option + key or Control + Alt + key MS Edge Alt + key Control + Option + key
or Control + Option + Shift + key Control + Option + key Google Chrome Safari n/a Control + Option + key Opera Alt + key Control + Alt + key Accessibility concerns

There are numerous concerns with the accesskey attribute:

Because of these issues, it is generally advised not to use accesskeys for most general-purpose websites and web apps.

Specifications Browser compatibility See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4