1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:47:46 +00:00

Ladybird: Support inspecting the accessibility tree

This allows viewing the ARIA accessibility tree Epigenetic added
in #16430, but now in Ladybird!
This commit is contained in:
MacDue 2023-02-21 20:49:00 +01:00 committed by Linus Groh
parent 56d8e36698
commit 40bfaff133
3 changed files with 40 additions and 13 deletions

View file

@ -33,6 +33,8 @@ public:
void clear_dom_json();
void set_dom_json(StringView dom_json);
void set_accessibility_json(StringView accessibility_json);
void load_style_json(StringView computed_style_json, StringView resolved_style_json, StringView custom_properties_json);
void clear_style_json();
@ -46,6 +48,7 @@ private:
Selection m_selection;
ModelTranslator m_dom_model {};
ModelTranslator m_accessibility_model {};
ModelTranslator m_computed_style_model {};
ModelTranslator m_resolved_style_model {};
ModelTranslator m_custom_properties_model {};