LibWeb: Support the ariaActiveDescendantElement IDL attribute

This commit is contained in:
sideshowbarker 2024-12-27 17:41:18 +09:00 committed by Tim Ledbetter
commit 1be55fe793
Notes: github-actions[bot] 2025-01-01 11:01:48 +00:00
5 changed files with 890 additions and 0 deletions

View file

@ -295,6 +295,9 @@ public:
ENUMERATE_ARIA_ATTRIBUTES
#undef __ENUMERATE_ARIA_ATTRIBUTE
GC::Ptr<DOM::Element> aria_active_descendant_element() { return m_aria_active_descendant_element; }
void set_aria_active_descendant_element(GC::Ptr<DOM::Element> value) { m_aria_active_descendant_element = value; }
virtual bool exclude_from_accessibility_tree() const override;
virtual bool include_in_accessibility_tree() const override;
@ -464,6 +467,8 @@ private:
bool m_in_top_layer { false };
OwnPtr<CSS::CountersSet> m_counters_set;
GC::Ptr<DOM::Element> m_aria_active_descendant_element;
};
template<>