Changeset 148617 in webkit
- Timestamp:
- Apr 17, 2013 9:42:45 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r148614 r148617 1 2013-04-17 Chris Fleizach <cfleizach@apple.com> 2 3 When img@alt is undefined, WebKit should use @title as accessibility label if available 4 https://bugs.webkit.org/show_bug.cgi?id=114535 5 6 Reviewed by Tim Horton. 7 8 * accessibility/empty-image-with-title-expected.txt: Added. 9 * accessibility/empty-image-with-title.html: Added. 10 1 11 2013-04-17 Arpita Bahuguna <a.bah@samsung.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r148614 r148617 1 2013-04-17 Chris Fleizach <cfleizach@apple.com> 2 3 AX: When img@alt is undefined, WebKit should use @title as accessibility label if available 4 https://bugs.webkit.org/show_bug.cgi?id=114535 5 6 Reviewed by Tim Horton. 7 8 Don't hide images from Accessibility that have the title attribute on them. 9 10 Test: accessibility/empty-image-with-title.html 11 12 * accessibility/AccessibilityRenderObject.cpp: 13 (WebCore::AccessibilityRenderObject::computeAccessibilityIsIgnored): 14 1 15 2013-04-17 Arpita Bahuguna <a.bah@samsung.com> 2 16 -
trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp
r148539 r148617 1248 1248 if (!alt.isNull()) 1249 1249 return true; 1250 // If an image has a title attribute on it, accessibility should be lenient and allow it to appear in the hierarchy (according to WAI-ARIA). 1251 if (!getAttribute(titleAttr).isEmpty()) 1252 return false; 1250 1253 } 1251 1254
Note: See TracChangeset
for help on using the changeset viewer.