mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibWeb: Allow focusable for the first summary child of a detail element
This commit is contained in:
parent
8ca59e7c7e
commit
bd56fdc57b
Notes:
github-actions[bot]
2025-11-12 12:58:07 +00:00
Author: https://github.com/lpas
Commit: bd56fdc57b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6780
Reviewed-by: https://github.com/gmta ✅
3 changed files with 13 additions and 5 deletions
|
|
@ -21,10 +21,11 @@ public:
|
|||
// https://www.w3.org/TR/html-aria/#el-details
|
||||
virtual Optional<ARIA::Role> default_role() const override { return ARIA::Role::button; }
|
||||
|
||||
bool is_summary_for_its_parent_details();
|
||||
bool is_summary_for_its_parent_details() const;
|
||||
|
||||
virtual bool has_activation_behavior() const override;
|
||||
virtual void activation_behavior(DOM::Event const&) override;
|
||||
virtual bool is_focusable() const override;
|
||||
|
||||
private:
|
||||
HTMLSummaryElement(DOM::Document&, DOM::QualifiedName);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue