| Index: third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
|
| diff --git a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
|
| index 01d1c1ed6adb7f6e6668024e8711f66ba6efd1f6..fef63f4ee7a56b5403af36d5668bff8c14b50f94 100644
|
| --- a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
|
| @@ -295,14 +295,15 @@ AccessibilityRole AXLayoutObject::DetermineAccessibilityRole() {
|
| if (role != kUnknownRole)
|
| return role;
|
|
|
| + // These are layout containers added by blink
|
| if (layout_object_->IsLayoutBlockFlow())
|
| - return kGroupRole;
|
| + return kGenericContainerRole;
|
|
|
| // If the element does not have role, but it has ARIA attributes or is an
|
| // in-page link target, accessibility should fallback to exposing it as a
|
| - // group.
|
| + // generic container.
|
| if (IsInPageLinkTarget() || SupportsARIAAttributes())
|
| - return kGroupRole;
|
| + return kGenericContainerRole;
|
|
|
| return kUnknownRole;
|
| }
|
|
|