diff options
author | shreeram.k <shreeram.k@samsung.com> | 2014-10-16 11:49:34 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-16 18:49:54 +0000 |
commit | e85a773cf9ea6d1ea8aac225a1c265ec58e8ef74 (patch) | |
tree | bf6337070367b74783e5619011781957607c74ff /ui/accessibility | |
parent | ed5178fef53e8a75fa65173c209d3c4508faaf2c (diff) | |
download | chromium_src-e85a773cf9ea6d1ea8aac225a1c265ec58e8ef74.zip chromium_src-e85a773cf9ea6d1ea8aac225a1c265ec58e8ef74.tar.gz chromium_src-e85a773cf9ea6d1ea8aac225a1c265ec58e8ef74.tar.bz2 |
HTML Meter tag should have MSAA+IA2 as ROLE_SYSTEM_PROGRESSBAR.
According to latest editor's draft http://rawgit.com/w3c/html-api-map/master/index.html
meter tag should have MSAA+IA2 Role as ROLE_SYSTEM_PROGRESSBAR.
And for mac, the AX Mappings should be copy of ARIA role progressbar.
This CL depends on https://codereview.chromium.org/652663003/
This CL also takes care of small fixes related with details tag and div tag.
BUG=421376
Review URL: https://codereview.chromium.org/657513002
Cr-Commit-Position: refs/heads/master@{#299944}
Diffstat (limited to 'ui/accessibility')
-rw-r--r-- | ui/accessibility/ax_enums.idl | 1 | ||||
-rw-r--r-- | ui/accessibility/platform/ax_platform_node_mac.mm | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/ui/accessibility/ax_enums.idl b/ui/accessibility/ax_enums.idl index 6557702..27ad04a 100644 --- a/ui/accessibility/ax_enums.idl +++ b/ui/accessibility/ax_enums.idl @@ -136,6 +136,7 @@ menu_list_option, menu_list_popup, menu, + meter, navigation, note, outline, diff --git a/ui/accessibility/platform/ax_platform_node_mac.mm b/ui/accessibility/platform/ax_platform_node_mac.mm index 7431c6b..2b450ea 100644 --- a/ui/accessibility/platform/ax_platform_node_mac.mm +++ b/ui/accessibility/platform/ax_platform_node_mac.mm @@ -87,6 +87,7 @@ RoleMap BuildRoleMap() { {ui::AX_ROLE_MENU_ITEM_RADIO, NSAccessibilityMenuItemRole}, {ui::AX_ROLE_MENU_LIST_OPTION, NSAccessibilityMenuItemRole}, {ui::AX_ROLE_MENU_LIST_POPUP, NSAccessibilityUnknownRole}, + {ui::AX_ROLE_METER, NSAccessibilityProgressIndicatorRole}, {ui::AX_ROLE_NAVIGATION, NSAccessibilityGroupRole}, {ui::AX_ROLE_NONE, NSAccessibilityGroupRole}, {ui::AX_ROLE_NOTE, NSAccessibilityGroupRole}, |