Index: Source/modules/accessibility/AXProgressIndicator.cpp |
diff --git a/Source/modules/accessibility/AXProgressIndicator.cpp b/Source/modules/accessibility/AXProgressIndicator.cpp |
index 3d68519d5bf68515f56e7976060883bf455d889a..c1411e29be7ebca82ff7d007557123434ca4cfab 100644 |
--- a/Source/modules/accessibility/AXProgressIndicator.cpp |
+++ b/Source/modules/accessibility/AXProgressIndicator.cpp |
@@ -40,6 +40,14 @@ PassRefPtr<AXProgressIndicator> AXProgressIndicator::create(LayoutProgress* layo |
return adoptRef(new AXProgressIndicator(layoutObject, axObjectCache)); |
} |
+AccessibilityRole AXProgressIndicator::roleValue() const |
+{ |
+ AccessibilityRole ariaRole = ariaRoleAttribute(); |
+ if (ariaRole != UnknownRole) |
+ return ariaRole; |
+ return ProgressIndicatorRole; |
+} |
+ |
bool AXProgressIndicator::computeAccessibilityIsIgnored() const |
{ |
return accessibilityIsIgnoredByDefault(); |