summaryrefslogtreecommitdiffstats
path: root/accessible/base/HTMLMarkupMap.h
diff options
context:
space:
mode:
Diffstat (limited to 'accessible/base/HTMLMarkupMap.h')
-rw-r--r--accessible/base/HTMLMarkupMap.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/accessible/base/HTMLMarkupMap.h b/accessible/base/HTMLMarkupMap.h
index b903097ea0..c607616518 100644
--- a/accessible/base/HTMLMarkupMap.h
+++ b/accessible/base/HTMLMarkupMap.h
@@ -34,7 +34,12 @@ MARKUPMAP(address, New_HyperText, roles::GROUPING)
MARKUPMAP(article, New_HyperText, roles::ARTICLE, Attr(xmlroles, article))
-MARKUPMAP(aside, New_HyperText, roles::LANDMARK)
+MARKUPMAP(
+ aside,
+ [](Element* aElement, LocalAccessible* aContext) -> LocalAccessible* {
+ return new HTMLAsideAccessible(aElement, aContext->Document());
+ },
+ 0)
MARKUPMAP(blockquote, New_HyperText, roles::BLOCKQUOTE)