Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1655)

Unified Diff: Source/modules/accessibility/AXRenderObject.cpp

Issue 829773002: ARIA role status should have a implicit aria-atomic value of true. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXRenderObject.cpp
diff --git a/Source/modules/accessibility/AXRenderObject.cpp b/Source/modules/accessibility/AXRenderObject.cpp
index 66d3e6796b5184777fd2cff57bb695dddfc471fc..81c5d7145021491b4dd08a4b9c3318342df41b0d 100644
--- a/Source/modules/accessibility/AXRenderObject.cpp
+++ b/Source/modules/accessibility/AXRenderObject.cpp
@@ -1147,6 +1147,9 @@ const AtomicString& AXRenderObject::liveRegionRelevant() const
bool AXRenderObject::liveRegionAtomic() const
{
+ // ARIA role status should have implicit aria-atomic value of true.
+ if (getAttribute(aria_atomicAttr).isEmpty() && roleValue() == StatusRole)
+ return true;
return elementAttributeValue(aria_atomicAttr);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698