summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/ARIA/Roles.cpp
AgeCommit message (Collapse)Author
2023-03-10Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_caseAndreas Kling
Let's make it clear that these functions deal with ASCII case only.
2023-02-19LibWeb: Add ARIA::allows_name_from_contentJonah
This is required to implement accessible name and description calculation.
2023-01-29LibWeb: Fix parsing/to_string for "switch" ARIA roleMacDue
I accidentally regressed this in 890b4d7, this role needs to be handled specially due to the clash with the C++ 'switch' keyword.
2023-01-29LibWeb: Move ARIA-related code into the Web::ARIA namespaceLinus Groh
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.