mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 19:59:17 +00:00
LibWeb: Add Support for the ARIA Element Properties
Element now supports getting and setting ARIA properties from JS and HTML.
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LibWeb/DOM/ARIARoleNames.h>
|
||||
#include <LibWeb/HTML/FormAssociatedElement.h>
|
||||
#include <LibWeb/HTML/HTMLElement.h>
|
||||
|
||||
@@ -43,6 +44,9 @@ public:
|
||||
|
||||
virtual void reset_algorithm() override;
|
||||
|
||||
// https://www.w3.org/TR/html-aria/#el-output
|
||||
virtual FlyString default_role() const override { return DOM::ARIARoleNames::status; }
|
||||
|
||||
private:
|
||||
HTMLOutputElement(DOM::Document&, DOM::QualifiedName);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user