mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-24 02:09:28 +00:00
LibWeb: Do not allow focusing "Actually Disabled" elements
This commit is contained in:
@@ -107,4 +107,9 @@ void HTMLButtonElement::activation_behavior(DOM::Event const& event)
|
||||
// 4. FIXME: Run the popover target attribute activation behavior given element.
|
||||
}
|
||||
|
||||
bool HTMLButtonElement::is_focusable() const
|
||||
{
|
||||
return enabled();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user