Changeset 202516 in webkit
- Timestamp:
- Jun 27, 2016 3:13:16 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r202514 r202516 1 2016-06-27 Joanmarie Diggs <jdiggs@igalia.com> 2 3 AX: REGRESSION (r202063): ARIA role attribute is being ignored for label element 4 https://bugs.webkit.org/show_bug.cgi?id=159162 5 6 Reviewed by Chris Fleizach. 7 8 This regression was caught by a GTK-specific layout test. Adding a cross-platform 9 test for additional coverage. 10 11 * accessibility/aria-role-on-label.html: Added. 12 * platform/gtk/accessibility/aria-role-on-label-expected.txt: Added. 13 * platform/mac/accessibility/aria-role-on-label-expected.txt: Added. 14 1 15 2016-06-27 Commit Queue <commit-queue@webkit.org> 2 16 -
trunk/Source/WebCore/ChangeLog
r202514 r202516 1 2016-06-27 Joanmarie Diggs <jdiggs@igalia.com> 2 3 AX: REGRESSION (r202063): ARIA role attribute is being ignored for label element 4 https://bugs.webkit.org/show_bug.cgi?id=159162 5 6 Reviewed by Chris Fleizach. 7 8 createFromRenderer() was creating an AccessibilityLabel for any HTMLLabelElement which 9 lacked an explicitly-handled ARIA role. We should instead create an AccessibilityLabel 10 when there is no ARIA role. 11 12 Test: accessibility/aria-role-on-label.html 13 14 * accessibility/AXObjectCache.cpp: 15 (WebCore::createFromRenderer): 16 1 17 2016-06-27 Commit Queue <commit-queue@webkit.org> 2 18 -
trunk/Source/WebCore/accessibility/AXObjectCache.cpp
r202063 r202516 430 430 return AccessibilityTreeItem::create(renderer); 431 431 432 if (node && is<HTMLLabelElement>(node) )432 if (node && is<HTMLLabelElement>(node) && nodeHasRole(node, nullAtom)) 433 433 return AccessibilityLabel::create(renderer); 434 434
Note: See TracChangeset
for help on using the changeset viewer.