mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 06:12:43 +00:00 
			
		
		
		
	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.
This commit is contained in:
		
							parent
							
								
									a469bbd178
								
							
						
					
					
						commit
						367b1634fd
					
				
					 11 changed files with 37 additions and 0 deletions
				
			
		|  | @ -595,4 +595,11 @@ void ConnectionFromClient::prompt_closed(DeprecatedString const& response) | |||
|     m_page_host->prompt_closed(response); | ||||
| } | ||||
| 
 | ||||
| void ConnectionFromClient::inspect_accessibility_tree() | ||||
| { | ||||
|     if (auto* doc = page().top_level_browsing_context().active_document()) { | ||||
|         async_did_get_accessibility_tree(doc->dump_accessibility_tree_as_json()); | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jonah
						Jonah