summaryrefslogtreecommitdiff
path: root/Ladybird/WebContentView.cpp
diff options
context:
space:
mode:
authorJonah <jonahshafran@gmail.com>2022-12-07 19:30:37 -0600
committerSam Atkins <atkinssj@gmail.com>2023-01-07 10:51:53 +0000
commit367b1634fd4a0c3764d1f618b8045a5d15096a07 (patch)
tree51da839eac518db23070284a1ba9f9ba4788a1f2 /Ladybird/WebContentView.cpp
parenta469bbd1786db749e63f081fc7e0fe193f37090b (diff)
downloadserenity-367b1634fd4a0c3764d1f618b8045a5d15096a07.zip
LibWebView+WebContent: Expose the Accessibility Tree to Other Processes
This patch also stubs out notify_server_did_get_accessiblity_tree in ladybird since ViewImplementation now has it. However, this feature is still immature, so just stubbing out in ladybird for now. Once we have more robust support in Serenity (namely ARIA properties/state and accessible names and descriptions) we can port this functionality over.
Diffstat (limited to 'Ladybird/WebContentView.cpp')
-rw-r--r--Ladybird/WebContentView.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Ladybird/WebContentView.cpp b/Ladybird/WebContentView.cpp
index 5dd9e2c7af..2e00479bc0 100644
--- a/Ladybird/WebContentView.cpp
+++ b/Ladybird/WebContentView.cpp
@@ -1093,3 +1093,8 @@ void WebContentView::notify_server_did_finish_handling_input_event(bool event_wa
// we don't need to do anything here. But we'll need to once we start asking web content first.
(void)event_was_accepted;
}
+
+void WebContentView::notify_server_did_get_accessibility_tree(DeprecatedString const&)
+{
+ dbgln("TODO: support accessibility tree in Ladybird");
+}