diff options
author | shreeram.k <shreeram.k@samsung.com> | 2015-06-18 09:10:25 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-18 16:11:40 +0000 |
commit | cfc36461f4cdfd039355ff39b6a5cc64dab63ce3 (patch) | |
tree | 228c3c7aac27fcd03ae8fe90e78d03ed6df14dd5 /ui | |
parent | b25cdd3ef427e08845bb90cc22c8ebd5f4724d9d (diff) | |
download | chromium_src-cfc36461f4cdfd039355ff39b6a5cc64dab63ce3.zip chromium_src-cfc36461f4cdfd039355ff39b6a5cc64dab63ce3.tar.gz chromium_src-cfc36461f4cdfd039355ff39b6a5cc64dab63ce3.tar.bz2 |
Make HTML5 <mark> accessible.
According to latest editor's draft http://w3c.github.io/aria/html-aam/html-aam.html#el-mark
mark tag has to be exposed as
Win
MSAA + IA2 IA2_ROLE_TEXT_FRAME
Mac
AXRole: AXGroup
AXSubrole: ?
AXRoleDescription: "highlighted content"
This CL depends on https://codereview.chromium.org/653683005/
BUG=421790
Review URL: https://codereview.chromium.org/651133003
Cr-Commit-Position: refs/heads/master@{#335055}
Diffstat (limited to 'ui')
-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 c6fead9..da88a54 100644 --- a/ui/accessibility/ax_enums.idl +++ b/ui/accessibility/ax_enums.idl @@ -125,6 +125,7 @@ location_bar, log, main, + mark, marquee, math, menu_bar, diff --git a/ui/accessibility/platform/ax_platform_node_mac.mm b/ui/accessibility/platform/ax_platform_node_mac.mm index 3bfa7b0..dd6ae35 100644 --- a/ui/accessibility/platform/ax_platform_node_mac.mm +++ b/ui/accessibility/platform/ax_platform_node_mac.mm @@ -77,6 +77,7 @@ RoleMap BuildRoleMap() { {ui::AX_ROLE_LIST_MARKER, @"AXListMarker"}, {ui::AX_ROLE_LOG, NSAccessibilityGroupRole}, {ui::AX_ROLE_MAIN, NSAccessibilityGroupRole}, + {ui::AX_ROLE_MARK, NSAccessibilityGroupRole}, {ui::AX_ROLE_MARQUEE, NSAccessibilityGroupRole}, {ui::AX_ROLE_MATH, NSAccessibilityGroupRole}, {ui::AX_ROLE_MENU, NSAccessibilityMenuRole}, |