LibWeb: Add an alternative_text() getter

This change adds an alternative_text()·getter, for use in computing
accessible names.
This commit is contained in:
sideshowbarker 2024-11-09 23:45:09 +09:00 committed by Andrew Kaster
commit dfd50afa4e
Notes: github-actions[bot] 2024-11-11 21:57:57 +00:00
3 changed files with 16 additions and 5 deletions

View file

@ -200,6 +200,8 @@ public:
String base_uri() const;
virtual Optional<String> alternative_text() const;
String descendant_text_content() const;
Optional<String> text_content() const;
void set_text_content(Optional<String> const&);