Changeset 223190 in webkit
- Timestamp:
- Oct 11, 2017 10:04:42 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r223189 r223190 1 2017-10-11 Joanmarie Diggs <jdiggs@igalia.com> 2 3 [ATK] Expose value of aria-keyshortcuts as object attribute 4 https://bugs.webkit.org/show_bug.cgi?id=171175 5 6 Reviewed by Chris Fleizach. 7 8 * accessibility/gtk/aria-keyshortcuts-expected.txt: Added. 9 * accessibility/gtk/aria-keyshortcuts.html: Added. 10 1 11 2017-10-11 Youenn Fablet <youenn@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r223173 r223190 1 2017-10-11 Joanmarie Diggs <jdiggs@igalia.com> 2 3 [ATK] Expose value of aria-keyshortcuts as object attribute 4 https://bugs.webkit.org/show_bug.cgi?id=171175 5 6 Reviewed by Chris Fleizach. 7 8 Expose the author-provided string through the "keyshortcuts" object attribute. 9 10 Test: accessibility/gtk/aria-keyshortcuts.html 11 12 * accessibility/AccessibilityObject.cpp: 13 (WebCore::AccessibilityObject::ariaKeyShortcutsValue const): 14 * accessibility/AccessibilityObject.h: 15 * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: 16 (webkitAccessibleGetAttributes): 17 * html/HTMLAttributeNames.in: 18 1 19 2017-10-11 Yusuke Suzuki <utatane.tea@gmail.com> 2 20 -
trunk/Source/WebCore/accessibility/AccessibilityObject.cpp
r223126 r223190 2446 2446 } 2447 2447 2448 const AtomicString& AccessibilityObject::ariaKeyShortcutsValue() const 2449 { 2450 return getAttribute(aria_keyshortcutsAttr); 2451 } 2452 2448 2453 Element* AccessibilityObject::element() const 2449 2454 { -
trunk/Source/WebCore/accessibility/AccessibilityObject.h
r223126 r223190 704 704 String ariaCurrentValue() const; 705 705 bool supportsARIACurrent() const; 706 const AtomicString& ariaKeyShortcutsValue() const; 706 707 707 708 // This function checks if the object should be ignored when there's a modal dialog displayed. -
trunk/Source/WebCore/accessibility/atk/WebKitAccessibleWrapperAtk.cpp
r223145 r223190 601 601 else if (coreObject->supportsARIADragging()) 602 602 attributeSet = addToAtkAttributeSet(attributeSet, "grabbed", "false"); 603 604 // The Core AAM states the author-provided value should be exposed as-is. 605 const AtomicString& keyShortcuts = coreObject->ariaKeyShortcutsValue(); 606 if (!keyShortcuts.isEmpty()) 607 attributeSet = addToAtkAttributeSet(attributeSet, "keyshortcuts", keyShortcuts.string().utf8().data()); 603 608 604 609 return attributeSet; -
trunk/Source/WebCore/html/HTMLAttributeNames.in
r221177 r223190 36 36 aria-hidden 37 37 aria-invalid 38 aria-keyshortcuts 38 39 aria-label 39 40 aria-labeledby
Note: See TracChangeset
for help on using the changeset viewer.