Files
ladybird/Tests/LibWeb/Text/expected/wpt-import/html/dom/access-key-label.txt
Johan Dahlin 9a34fb59aa LibWeb: Implement HTMLElement.accessKeyLabel
Implement the accessKeyLabel IDL attribute per the HTML spec.

We mimic Chromium's behavior and treat the accesskey attribute value as
a single key rather than splitting on whitespace, since no browser
besides IE/Edge implemented the spec's splitting approach.

See https://github.com/whatwg/html/issues/3769
2026-03-20 15:57:06 -05:00

7 lines
147 B
Plaintext

Harness status: OK
Found 2 tests
2 Pass
Pass Returns non empty string when accesskey is valid
Pass Returns empty string when accesskey is invalid