diff options
author | klink@chromium.org <klink@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-25 18:43:06 +0000 |
---|---|---|
committer | klink@chromium.org <klink@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-25 18:43:06 +0000 |
commit | a4a16bbc5a15fecf65d04128b55e51298286c15a (patch) | |
tree | 43c94b677381b7124c40774c9272968c1ca05370 /webkit/glue/webaccessibility.h | |
parent | 16fb874ec28ae410d5e172da4fd89c8a2ed01078 (diff) | |
download | chromium_src-a4a16bbc5a15fecf65d04128b55e51298286c15a.zip chromium_src-a4a16bbc5a15fecf65d04128b55e51298286c15a.tar.gz chromium_src-a4a16bbc5a15fecf65d04128b55e51298286c15a.tar.bz2 |
Adds support for WAI-ARIA roles application, document, radiogroup, region, separator, status and tooltip.
BUG=19982
TEST=Assign @role application, document, radiogroup, region, separator, status or tooltip to any dom element, and use Inspect32 (or similar tool) to see it exposed correctly.
Review URL: http://codereview.chromium.org/174382
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24262 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webaccessibility.h')
-rw-r--r-- | webkit/glue/webaccessibility.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/webkit/glue/webaccessibility.h b/webkit/glue/webaccessibility.h index e13c7b3..5fa23ae 100644 --- a/webkit/glue/webaccessibility.h +++ b/webkit/glue/webaccessibility.h @@ -65,6 +65,7 @@ class WebAccessibility { // conversion to its own roles (see e.g. BrowserAccessibility::get_accRole and // BrowserAccessibility::MSAARole). enum Role { + ROLE_APPLICATION, ROLE_CELL, ROLE_CHECKBUTTON, ROLE_CLIENT, @@ -86,11 +87,14 @@ class WebAccessibility { ROLE_RADIOBUTTON, ROLE_ROW, ROLE_ROWHEADER, + ROLE_SEPARATOR, ROLE_SLIDER, ROLE_STATICTEXT, + ROLE_STATUSBAR, ROLE_TABLE, ROLE_TEXT, - ROLE_TOOLBAR + ROLE_TOOLBAR, + ROLE_TOOLTIP }; // This defines an enumeration (in alphabetical order) of the supported |