mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:37:35 +00:00
LibWeb: Add (exclude/include)_from_accessibility_tree
These functions will be used in building the accessibility tree.
This commit is contained in:
parent
ef48bd1878
commit
cd95e5f656
3 changed files with 69 additions and 0 deletions
|
@ -136,6 +136,12 @@ public:
|
|||
|
||||
FlyString role_or_default() const;
|
||||
|
||||
// https://www.w3.org/TR/wai-aria-1.2/#tree_exclusion
|
||||
virtual bool exclude_from_accessibility_tree() const = 0;
|
||||
|
||||
// https://www.w3.org/TR/wai-aria-1.2/#tree_inclusion
|
||||
virtual bool include_in_accessibility_tree() const = 0;
|
||||
|
||||
bool has_global_aria_attribute() const;
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue