diff options
author | Linus Groh <mail@linusgroh.de> | 2023-01-28 22:23:16 +0000 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-01-29 00:02:55 +0000 |
commit | 8556d472400605d23d326816f497f4164b620b1d (patch) | |
tree | 424375c6ac5d6c6408540535f890132a0792aea3 /Userland/Services | |
parent | 8414734a2dcc57813bf27d596fc7abc32d7ab308 (diff) | |
download | serenity-8556d472400605d23d326816f497f4164b620b1d.zip |
LibWeb: Move ARIA-related code into the Web::ARIA namespace
ARIA has its own spec and is not part of the DOM spec, which is what the
Web::DOM namespace is for (https://www.w3.org/TR/wai-aria-1.2/).
This allows us to stay closer to the spec with function names and don't
have to add the word "ARIA" to identifiers constantly - the namespace
now provides that clarity.
Diffstat (limited to 'Userland/Services')
-rw-r--r-- | Userland/Services/WebContent/WebDriverConnection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/WebContent/WebDriverConnection.cpp b/Userland/Services/WebContent/WebDriverConnection.cpp index f45d9b2678..ec4116072d 100644 --- a/Userland/Services/WebContent/WebDriverConnection.cpp +++ b/Userland/Services/WebContent/WebDriverConnection.cpp @@ -1254,7 +1254,7 @@ Messages::WebDriverClient::GetComputedRoleResponse WebDriverConnection::get_comp // 5. Return success with data role. if (role.has_value()) - return Web::DOM::ARIARoles::role_name(*role); + return Web::ARIA::role_name(*role); return ""sv; } |