diff --git a/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp
index ba0e91b7924..994c1bdca46 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp
+++ b/Userland/Libraries/LibWeb/HTML/HTMLElement.cpp
@@ -571,6 +571,9 @@ void HTMLElement::blur()
Optional HTMLElement::default_role() const
{
+ // https://www.w3.org/TR/html-aria/#el-address
+ if (local_name() == TagNames::address)
+ return ARIA::Role::group;
// https://www.w3.org/TR/html-aria/#el-article
if (local_name() == TagNames::article)
return ARIA::Role::article;
@@ -612,7 +615,7 @@ Optional HTMLElement::default_role() const
}
// https://www.w3.org/TR/html-aria/#el-hgroup
if (local_name() == TagNames::hgroup)
- return ARIA::Role::generic;
+ return ARIA::Role::group;
// https://www.w3.org/TR/html-aria/#el-i
if (local_name() == TagNames::i)
return ARIA::Role::generic;
@@ -622,6 +625,9 @@ Optional HTMLElement::default_role() const
// https://www.w3.org/TR/html-aria/#el-nav
if (local_name() == TagNames::nav)
return ARIA::Role::navigation;
+ // https://www.w3.org/TR/html-aria/#el-s
+ if (local_name() == TagNames::s)
+ return ARIA::Role::deletion;
// https://www.w3.org/TR/html-aria/#el-samp
if (local_name() == TagNames::samp)
return ARIA::Role::generic;
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp
index 807e584f01d..7ad76e08511 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp
+++ b/Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp
@@ -2311,7 +2311,7 @@ Optional HTMLInputElement::default_role() const
return ARIA::Role::combobox;
// https://www.w3.org/TR/html-aria/#el-input-search
if (type_state() == TypeAttributeState::Search && !has_attribute(AttributeNames::list))
- return ARIA::Role::textbox;
+ return ARIA::Role::searchbox;
// https://www.w3.org/TR/html-aria/#el-input-submit
if (type_state() == TypeAttributeState::SubmitButton)
return ARIA::Role::button;