From 7ee907e1602305c3b103c12a31185585c464000c Mon Sep 17 00:00:00 2001 From: Estelle Weyl Date: Mon, 16 Sep 2024 05:26:05 -0700 Subject: [PATCH] accesskey: remove legacy browsers (#35899) * accesskey: remove legacy browsers * Update files/en-us/web/html/global_attributes/accesskey/index.md --- .../html/global_attributes/accesskey/index.md | 29 ++++--------------- 1 file changed, 6 insertions(+), 23 deletions(-) diff --git a/files/en-us/web/html/global_attributes/accesskey/index.md b/files/en-us/web/html/global_attributes/accesskey/index.md index d3a48c99c4905dd..ba4fb5ae6063792 100644 --- a/files/en-us/web/html/global_attributes/accesskey/index.md +++ b/files/en-us/web/html/global_attributes/accesskey/index.md @@ -11,9 +11,6 @@ The **`accesskey`** [global attribute](/en-US/docs/Web/HTML/Global_attributes) p {{EmbedInteractiveExample("pages/tabbed/attribute-accesskey.html","tabbed-shorter")}} -> [!NOTE] -> In the WHATWG spec, it says you can specify multiple space-separated characters, and the browser will use the first one it supports. However, this does not work in most browsers. IE/Edge uses the first one it supports without problems, provided there are no conflicts with other commands. - The way to activate the accesskey depends on the browser and its platform: @@ -28,29 +25,22 @@ The way to activate the accesskey depends on the browser and its platform: - + - + - @@ -58,23 +48,16 @@ The way to activate the accesskey depends on the browser and its platform: - + - - - -
Firefox Alt + Shift + key -
    -
  • Firefox 57+: Control + Option + + Control + Option + key or Control + Alt + - key
  • -
  • Firefox 14-56: Control + Alt + - key
  • -
  • Firefox 13 or older: Control + - key
  • -
+ key
EdgeMS Edge Alt + key Control + Option + key
or Control + Option + Shift + key
n/aControl + Option + key
Google ChromeControl + Option + key
SafariControl + Option + key
Opera 15+Opera Alt + key Control + Alt + key
Opera 12 - Shift + Esc opens a list of available accesskeys. Choose an item from the list by pressing - the key. -
## Accessibility concerns -In addition to poor browser support, there are numerous concerns with the `accesskey` attribute: +There are numerous concerns with the `accesskey` attribute: - An `accesskey` value can conflict with a system or browser keyboard shortcut, or assistive technology functionality. What may work for one combination of operating system, assistive technology, and browser may not work with other combinations. - Certain `accesskey` values may not be present on certain keyboards, especially when internationalization is a concern. So adapting to specific languages could cause further problems.