Changeset 246655 in webkit
- Timestamp:
- Jun 20, 2019 3:06:51 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r246649 r246655 1 2019-06-20 Greg Doolittle <gr3g@apple.com> 2 3 Web Inspector: AXI: Audit: image label test is throwing spurious errors on elements with existing alt attr, but no value: <img alt> 4 https://bugs.webkit.org/show_bug.cgi?id=194754 5 6 Reviewed by Chris Fleizach. 7 8 * accessibility/img-alt-attribute-unassigned-value-expected.txt: Added. 9 * accessibility/img-alt-attribute-unassigned-value.html: Added. 10 * inspector/dom/getAccessibilityPropertiesForNode-expected.txt: 11 1 12 2019-06-20 Saam Barati <sbarati@apple.com> 2 13 -
trunk/LayoutTests/inspector/dom/getAccessibilityPropertiesForNode-expected.txt
r222544 r246655 327 327 exists: true 328 328 label: x 329 role: img329 role: presentation 330 330 ignored: true 331 331 ignoredByDefault: true … … 340 340 exists: true 341 341 label: 342 role: presentation 343 ignored: true 344 345 <img src="data:image/gif..."> 346 exists: true 347 label: 342 348 role: img 343 ignored: true344 345 <img src="data:image/gif...">346 exists: true347 label:348 role: img349 349 350 350 <img src="./404.gif"> 351 351 exists: true 352 352 label: 353 role: img353 role: presentation 354 354 ignored: true 355 355 … … 362 362 exists: true 363 363 label: 364 role: 364 role: presentation 365 365 focused: false 366 366 ignored: true … … 907 907 exists: true 908 908 label: 909 role: 909 role: presentation 910 910 ignored: true 911 911 ignoredByDefault: true … … 916 916 exists: true 917 917 label: 918 role: 918 role: presentation 919 919 ignored: true 920 920 ignoredByDefault: true … … 924 924 exists: true 925 925 label: 926 role: 926 role: presentation 927 927 ignored: true 928 928 ignoredByDefault: true … … 933 933 exists: true 934 934 label: 935 role: 935 role: presentation 936 936 ignored: true 937 937 parentNodeId: exists … … 962 962 exists: true 963 963 label: 964 role: 964 role: presentation 965 965 ignored: true 966 966 parentNodeId: exists … … 969 969 exists: true 970 970 label: 971 role: 971 role: presentation 972 972 ignored: true 973 973 parentNodeId: exists -
trunk/Source/WebCore/ChangeLog
r246653 r246655 1 2019-06-20 Greg Doolittle <gr3g@apple.com> 2 3 Web Inspector: AXI: Audit: image label test is throwing spurious errors on elements with existing alt attr, but no value: <img alt> 4 https://bugs.webkit.org/show_bug.cgi?id=194754 5 6 Reviewed by Chris Fleizach. 7 8 Test: accessibility/img-alt-attribute-unassigned-value.html 9 10 * accessibility/AccessibilityObject.cpp: 11 (WebCore::AccessibilityObject::computedRoleString const): 12 1 13 2019-06-20 Ryosuke Niwa <rniwa@webkit.org> 2 14 -
trunk/Source/WebCore/accessibility/AccessibilityObject.cpp
r246490 r246655 2494 2494 AccessibilityRole role = roleValue(); 2495 2495 2496 if (role == AccessibilityRole::Image && accessibilityIsIgnored()) 2497 return reverseAriaRoleMap().get(static_cast<int>(AccessibilityRole::Presentational)); 2498 2496 2499 // We do not compute a role string for generic block elements with user-agent assigned roles. 2497 2500 if (role == AccessibilityRole::Group || role == AccessibilityRole::TextGroup)
Note: See TracChangeset
for help on using the changeset viewer.