mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibWeb: Add an alternative_text() getter
This change adds an alternative_text()·getter, for use in computing accessible names.
This commit is contained in:
parent
6d29afaa6c
commit
dfd50afa4e
Notes:
github-actions[bot]
2024-11-11 21:57:57 +00:00
Author: https://github.com/sideshowbarker
Commit: dfd50afa4e
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2194
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/AtkinsSJ
3 changed files with 16 additions and 5 deletions
|
@ -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&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue