Contact emails [email protected], [email protected]
Explainer None Specification https://html.spec.whatwg.org/multipage/interaction.html#dom-accesskeylabel Design docs https://html.spec.whatwg.org/multipage/interaction.html#dom-accesskeylabel Summary The HTMLElement.accessKeyLabel read-only property returns a human-readable string representing the actual keyboard shortcut assigned to the element by the browser, based on the user's platform and browser. If no access key is assigned, it returns an empty string. Blink component Blink>HTML Motivation If you give an HTML element the accesskey attribute, users can use a keyboard shortcut to activate it. However, the exact key combination is different in each browser and operating system, so it's hard for users to know which keys to press. The accessKeyLabel property solves this by returning the actual key combination for the user's current browser and OS as a string. Since WebKit, Firefox already support it, bringing it to Chromium will improve interoperability as well. Initial public proposal None TAG review None TAG review status Not applicable Risks Interoperability and Compatibility Safari 14 and Firefox 8 have already shipped the feature. Gecko: Shipped/Shipping (https://website-archive.mozilla.org/www.mozilla.org/firefox_releasenotes/en-us/firefox/8.0/releasenotes) WebKit: Shipped/Shipping (https://webkit.org/blog/11340/new-webkit-features-in-safari-14) Web developers: No signals Other signals: WebView application risks Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications? None Debuggability None Is this feature fully tested by web-platform-tests? Yes https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/web_tests/external/wpt/html/dom/idlharness.https.html Flag name on about://flags None Finch feature name None Non-finch justification None Requires code in //chrome? False Tracking bug https://issues.chromium.org/issues/41119923 Estimated milestones No milestones specified Link to entry on the Chrome Platform Status https://chromestatus.com/feature/5113389252739072?gate=5067282040619008 This intent message was generated by Chrome Platform Status. -- You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/689b03cd.050a0220.b43f3.0c03.GAE%40google.com.
