[ATK] Expose value of aria-keyshortcuts as object attribute
authorjdiggs@igalia.com <jdiggs@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Oct 2017 17:04:42 +0000 (17:04 +0000)
committerjdiggs@igalia.com <jdiggs@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Oct 2017 17:04:42 +0000 (17:04 +0000)
commit0c83458b5bd27e69cda845ae2e104ccc3772b957
tree4a4f788e3c2c2bd88c7becbdb9c2bdfc828b4599
parent829a5d555c1c1914bc741e1ace0e7d1ef10de893
[ATK] Expose value of aria-keyshortcuts as object attribute
https://bugs.webkit.org/show_bug.cgi?id=171175

Reviewed by Chris Fleizach.

Source/WebCore:

Expose the author-provided string through the "keyshortcuts" object attribute.

Test: accessibility/gtk/aria-keyshortcuts.html

* accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::ariaKeyShortcutsValue const):
* accessibility/AccessibilityObject.h:
* accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
(webkitAccessibleGetAttributes):
* html/HTMLAttributeNames.in:

LayoutTests:

* accessibility/gtk/aria-keyshortcuts-expected.txt: Added.
* accessibility/gtk/aria-keyshortcuts.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@223190 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/accessibility/gtk/aria-keyshortcuts-expected.txt [new file with mode: 0644]
LayoutTests/accessibility/gtk/aria-keyshortcuts.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/accessibility/AccessibilityObject.cpp
Source/WebCore/accessibility/AccessibilityObject.h
Source/WebCore/accessibility/atk/WebKitAccessibleWrapperAtk.cpp
Source/WebCore/html/HTMLAttributeNames.in