diff options
author | klink@chromium.org <klink@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-28 01:03:46 +0000 |
---|---|---|
committer | klink@chromium.org <klink@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-28 01:03:46 +0000 |
commit | b8db6932cbd27f4ab0347efceb7cf85ec62e18fc (patch) | |
tree | a4660c3a0fba034a16e0225c61b5ccbc7b982e43 | |
parent | 3d72bfa532fd8c1e84ef5fc50f699990bb2c77a5 (diff) | |
download | chromium_src-b8db6932cbd27f4ab0347efceb7cf85ec62e18fc.zip chromium_src-b8db6932cbd27f4ab0347efceb7cf85ec62e18fc.tar.gz chromium_src-b8db6932cbd27f4ab0347efceb7cf85ec62e18fc.tar.bz2 |
Adds support for WAI-ARIA role article.
BUG=19982
TEST=Assign @role=article on a DOM element. It will be exposed as MSAA role document.
Review URL: http://codereview.chromium.org/182006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24711 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | webkit/glue/glue_accessibility_object.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/glue/glue_accessibility_object.cc b/webkit/glue/glue_accessibility_object.cc index 37ead14..94a0b63 100644 --- a/webkit/glue/glue_accessibility_object.cc +++ b/webkit/glue/glue_accessibility_object.cc @@ -375,6 +375,7 @@ static WebAccessibility::Role SupportedRole(WebCore::AccessibilityRole role) { return WebAccessibility::ROLE_COLUMN; case WebCore::ColumnHeaderRole: return WebAccessibility::ROLE_COLUMNHEADER; + case WebCore::DocumentArticleRole: case WebCore::WebAreaRole: return WebAccessibility::ROLE_DOCUMENT; case WebCore::ImageMapRole: |