Math tag is not exposed in Accessibility.

This CL will return MathRole from blink to chromium for math tag.

BUG=429476

Review URL: https://codereview.chromium.org/722653002

git-svn-id: svn://svn.chromium.org/blink/trunk@185264 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 0280efc0
......@@ -368,6 +368,9 @@ AccessibilityRole AXRenderObject::determineAccessibilityRole()
if (node && node->hasTagName(dtTag))
return DescriptionListTermRole;
if (node && (node->nodeName() == "math"))
return MathRole;
if (node && (node->hasTagName(rpTag) || node->hasTagName(rtTag)))
return AnnotationRole;
......@@ -736,6 +739,9 @@ bool AXRenderObject::computeAccessibilityIsIgnored() const
if (roleValue() == DetailsRole)
return false;
if (roleValue() == MathRole)
return false;
if (roleValue() == MeterRole)
return false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment