From efaef9be724224962981b94655fc222226a5e014 Mon Sep 17 00:00:00 2001 From: Yeonghan Kim Date: Thu, 4 Sep 2025 21:16:02 -0700 Subject: [PATCH] Implement HTMLElement accessKeyLabel This patch implements accessKeyLabel API, matching the HTMLElement specification [1]. This CL helps solve the problem where users find it hard to know which accesskey modifier to press. This also improves interoperability with Safari and Firefox, which have already shipped this API. FYI, This implementation is currently behind a runtime flag. Intent to Prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/uzx6kTcS3hY [1] https://html.spec.whatwg.org/multipage/interaction.html#dom-accesskeylabel Bug: 41119923 Change-Id: I5d8dff04189baea410656fed3096a0c876f417fb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6865692 Reviewed-by: Jinho Bang Commit-Queue: YeongHan Kim Reviewed-by: Mason Freed Cr-Commit-Position: refs/heads/main@{#1511307} --- html/dom/access-key-label.html | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 html/dom/access-key-label.html diff --git a/html/dom/access-key-label.html b/html/dom/access-key-label.html new file mode 100644 index 00000000000000..8f09032d8b1c71 --- /dev/null +++ b/html/dom/access-key-label.html @@ -0,0 +1,27 @@ + + +accessKeyLabel attribute + + + + + + \ No newline at end of file