summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLSelectElement.cpp')
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLSelectElement.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.cpp
index 60d11670f8..f1fcbfcca8 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.cpp
+++ b/Userland/Libraries/LibWeb/HTML/HTMLSelectElement.cpp
@@ -163,18 +163,18 @@ DeprecatedString const& HTMLSelectElement::type() const
return select_multiple;
}
-Optional<DOM::ARIARoles::Role> HTMLSelectElement::default_role() const
+Optional<ARIA::Role> HTMLSelectElement::default_role() const
{
// https://www.w3.org/TR/html-aria/#el-select-multiple-or-size-greater-1
if (has_attribute("multiple"))
- return DOM::ARIARoles::Role::listbox;
+ return ARIA::Role::listbox;
if (has_attribute("size")) {
auto size_attribute = attribute("size").to_int();
if (size_attribute.has_value() && size_attribute.value() > 1)
- return DOM::ARIARoles::Role::listbox;
+ return ARIA::Role::listbox;
}
// https://www.w3.org/TR/html-aria/#el-select
- return DOM::ARIARoles::Role::combobox;
+ return ARIA::Role::combobox;
}
}