diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLQuoteElement.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/HTMLQuoteElement.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLQuoteElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLQuoteElement.cpp index 21dad595a1..97d0de1c5f 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLQuoteElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLQuoteElement.cpp @@ -5,8 +5,8 @@ */ #include <AK/Assertions.h> +#include <LibWeb/ARIA/Roles.h> #include <LibWeb/Bindings/Intrinsics.h> -#include <LibWeb/DOM/ARIARoles.h> #include <LibWeb/HTML/HTMLQuoteElement.h> namespace Web::HTML { @@ -26,14 +26,14 @@ JS::ThrowCompletionOr<void> HTMLQuoteElement::initialize(JS::Realm& realm) return {}; } -Optional<DOM::ARIARoles::Role> HTMLQuoteElement::default_role() const +Optional<ARIA::Role> HTMLQuoteElement::default_role() const { // https://www.w3.org/TR/html-aria/#el-blockquote if (local_name() == TagNames::blockquote) - return DOM::ARIARoles::Role::blockquote; + return ARIA::Role::blockquote; // https://www.w3.org/TR/html-aria/#el-q if (local_name() == TagNames::q) - return DOM::ARIARoles::Role::generic; + return ARIA::Role::generic; VERIFY_NOT_REACHED(); } |